From bd70bfb5dc8afdc606895e27e9f52414ba65cbc3 Mon Sep 17 00:00:00 2001 From: Markus Kraus Date: Mon, 25 May 2020 21:45:13 +0200 Subject: [PATCH] processing for SetSecure --- Scripts/Set-VMHostSecureNTP.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Scripts/Set-VMHostSecureNTP.ps1 b/Scripts/Set-VMHostSecureNTP.ps1 index fb3204b..e862fe1 100644 --- a/Scripts/Set-VMHostSecureNTP.ps1 +++ b/Scripts/Set-VMHostSecureNTP.ps1 @@ -82,6 +82,11 @@ function Set-VMHostSecureNTP { process { + if ($Type -eq "SetSecure") { + "Executing Set and Secure operation..." + $VMHost | Foreach-Object { Write-Output (SetSecure $_) } + } + } end {