struct(wakeup): add params for connectivity testing

This commit is contained in:
Asif Bacchus 2021-09-05 18:33:46 -06:00
parent cda29f2ef1
commit e5bc1f76df
1 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,14 @@ param
# Computer to wake up
[Alias("Computer")]
[String]
$targetComputer = ""
$targetComputer = "",
# Skip RDP connectivity readiness check
[Alias("Check", "Readiness")]
[Switch]
$ConnectivityCheck = $false,
# RDP connectivity readiness check timeout
[Int]
$Timeout = 300
)
function exitError($errMessage, $PSItem, $exitCode = 1)