mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Updated the manuals
This commit is contained in:
@ -52,7 +52,7 @@ try {
|
||||
if ($Connection.ConnectionStatus -ne "Connected") { continue }
|
||||
"Disconnecting $($Connection.Name)..."
|
||||
& rasdial.exe "$($Connection.Name)" /DISCONNECT
|
||||
if ($lastExitCode -ne "0") { throw "Disconnect failed with exit code $lastExitCode" }
|
||||
if ($lastExitCode -ne 0) { throw "Disconnect failed with exit code $lastExitCode" }
|
||||
"Disconnected now."
|
||||
exit 0 # success
|
||||
}
|
||||
@ -63,4 +63,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)*
|
||||
|
Reference in New Issue
Block a user