From e5bc1f76dfa88e74e36cd09f51966f843be57d59 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 5 Sep 2021 18:33:46 -0600 Subject: [PATCH] struct(wakeup): add params for connectivity testing --- wakeup.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wakeup.ps1 b/wakeup.ps1 index 548be40..0a14542 100644 --- a/wakeup.ps1 +++ b/wakeup.ps1 @@ -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)