Google, which has an ambitious plan to address climate change with cleaner operations, came nowhere close to its goals last year, according to the company’s annual Environmental Report Tuesday.
When it comes to looking up information, I no longer rely on Google. AI does exactly what I need it to, sometimes I have to rephrase my question, worst case.
Narrow boundaries? I don't use Google primarily due to the waste of time going through pages upon pages of information I'm looking for.
Just about my entire IT team uses AI for searching IT related issues and solutions to those issues. However, I personally apply it to other subject matters besides IT.
I will give you an example, this was for a recent project we had with a machine that requires to be connected to the internet at all times through a VPN connection.
How to setup Windows VPN to automatically reconnect after connection loss using PowerShell?
Using PowerShell Script
Create a PowerShell Script to Monitor and Reconnect VPN:
Open Notepad and paste the following script:
In powershell
$vpnName = "Your_VPN_Connection_Name"
$username = "your_username"
$password = "your_password"
while ($true) {
$vpnConnection = Get-VpnConnection -Name $vpnName
if ($vpnConnection.ConnectionStatus -ne "Connected") {
rasdial $vpnName $username $password
}
Start-Sleep -Seconds 60
}
Replace $vpnName, $username, and $password with your VPN connection details.
Save this file with a .ps1 extension, e.g., vpn_reconnect.ps1.
Set Up Task Scheduler to Run the PowerShell Script:
Follow the same steps as in Method 2, but when selecting the program to start, use powershell.exe and add the script path as an argument.
Example: powershell.exe -File "C:\path\to\your\vpn_reconnect.ps1"
it's funny how you say "it provides correct answers", dump six paragraphs of half-baked, malformatted instructions (that, if followed, spawn an endless stream of non-terminating powershell processes), then ten minutes later admit in a different comment that "sometimes the information it provides is incorrect"