Updated the manuals

This commit is contained in:
Markus Fleschutz
2025-01-17 08:31:53 +01:00
parent efe4a2c6b4
commit 33ef92d879
635 changed files with 2375 additions and 1666 deletions

View File

@@ -6,7 +6,7 @@ This PowerShell script queries the status of the VPN connection(s) and prints it
Parameters
----------
```powershell
/home/markus/Repos/PowerShell/scripts/check-vpn.ps1 [<CommonParameters>]
/Repos/PowerShell/scripts/check-vpn.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
@@ -17,7 +17,7 @@ Example
-------
```powershell
PS> ./check-vpn.ps1
VPN to NASA L2TP is connected
Internet VPN to NASA L2TP is connected
```
@@ -39,7 +39,7 @@ Script Content
This PowerShell script queries the status of the VPN connection(s) and prints it.
.EXAMPLE
PS> ./check-vpn.ps1
✅ VPN to NASA L2TP is connected
Internet VPN to NASA L2TP is connected
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@@ -53,7 +53,7 @@ try {
} else {
$connections = Get-VPNConnection
foreach($connection in $connections) {
Write-Host "✅ VPN to $($connection.Name) is $($connection.ConnectionStatus.ToLower())"
Write-Host "✅ Internet VPN to $($connection.Name) is $($connection.ConnectionStatus.ToLower())"
$noVPN = $false
}
}
@@ -65,4 +65,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 as of 11/20/2024 11:51:52)*
*(page generated by convert-ps2md.ps1 as of 01/17/2025 08:30:51)*