From dd4bb2f415216e993d5a89fafc39f2628ddd8fbd Mon Sep 17 00:00:00 2001 From: Markus Kraus Date: Thu, 28 May 2020 21:06:40 +0200 Subject: [PATCH] fix Typos --- Scripts/Set-VMHostSecureNTP.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/Set-VMHostSecureNTP.ps1 b/Scripts/Set-VMHostSecureNTP.ps1 index 1b5464e..e6fb2b0 100644 --- a/Scripts/Set-VMHostSecureNTP.ps1 +++ b/Scripts/Set-VMHostSecureNTP.ps1 @@ -19,7 +19,7 @@ function Set-VMHostSecureNTP { =========================================================================== .DESCRIPTION - This function sets new NTP Servers on given ESXi Hosts and configures the host firewall to only accept NTP connections from this servers. + This function sets new NTP Servers on given ESXi Hosts and configures the host firewall to only accept NTP connections from these servers. .Example Get-VMHost | Set-VMHostSecureNTP -Secure @@ -74,8 +74,8 @@ function Set-VMHostSecureNTP { if($NTPService.Policy -ne "on"){ Set-VMHostService -HostService $NTPService -Policy "on" -confirm:$False | Out-Null } - ## Remove all existiing NTP Servers - "Remove all existiing NTP Servers ..." + ## Remove all existing NTP Servers + "Remove all existing NTP Servers ..." try { foreach ($OldNtpServer in ($MyHost | Get-VMHostNtpServer)) { $MyHost | Remove-VMHostNtpServer -NtpServer $OldNtpServer -Confirm:$false