From ced7359b6dbd19cc912d5977b5ea2c35c042902c Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 13 Sep 2023 08:34:59 +0200 Subject: [PATCH] Update check-vpn.ps1 --- Scripts/check-vpn.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/check-vpn.ps1 b/Scripts/check-vpn.ps1 index 1d0315d4..7a6baa34 100755 --- a/Scripts/check-vpn.ps1 +++ b/Scripts/check-vpn.ps1 @@ -5,7 +5,7 @@ This PowerShell script queries the status of the VPN connection(s) and prints it. .EXAMPLE PS> ./check-vpn.ps1 - ✅ VPN disconnected to NASA L2TP + ✅ VPN to NASA L2TP is connected .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -19,7 +19,7 @@ try { } else { $Connections = Get-VPNConnection foreach($Connection in $Connections) { - Write-Host "✅ VPN $($Connection.ConnectionStatus.ToLower()) to $($Connection.Name)" + Write-Host "✅ VPN to $($Connection.Name) is $($Connection.ConnectionStatus.ToLower())" $noVPN = $false } }