mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 21:33:47 +02:00
Updated some scripts
This commit is contained in:
@ -17,9 +17,9 @@ try {
|
||||
if ($IsLinux) {
|
||||
# TODO
|
||||
} else {
|
||||
$Connections = Get-VPNConnection
|
||||
foreach($Connection in $Connections) {
|
||||
Write-Host "✅ VPN to $($Connection.Name) is $($Connection.ConnectionStatus.ToLower())"
|
||||
$connections = Get-VPNConnection
|
||||
foreach($connection in $connections) {
|
||||
Write-Host "✅ VPN to $($connection.Name) is $($connection.ConnectionStatus.ToLower())"
|
||||
$noVPN = $false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user