Block-NoInternet
Last updated
Was this helpful?
Blocks execution if internet connectivity is not available
Module
OSD
Platform
WinPE (amd64 / arm64)
Validates internet connectivity by testing connections to multiple well-known URLs. If connectivity cannot be established, writes a warning and breaks execution unless the -Warn parameter is specified.
Block-NoInternet [-Warn] [-Pause] [-ProgressAction <ActionPreference>] [<CommonParameters>]-Warn
SwitchParameter
False
Shows a warning but continues execution instead of breaking
-Pause
SwitchParameter
False
Pauses and displays a message before continuing execution
Block-NoInternet
Halts execution if internet connectivity is not availableLast updated
Was this helpful?
Was this helpful?

