Block-WindowsVersionNe10
Last updated
Was this helpful?
Blocks execution if Windows major version is not 10
Module
OSD
Platform
WinPE (amd64 / arm64)
Validates that the operating system is Windows with major version 10 or greater. If the major version is not 10, writes a warning and breaks execution unless the -Warn parameter is specified.
Block-WindowsVersionNe10 [-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-WindowsVersionNe10
Halts execution if Windows major version is not 10Last updated
Was this helpful?
Was this helpful?

