Change NTP input to type ipaddress
This commit is contained in:
@@ -52,7 +52,7 @@ function Set-VMHostSecureNTP {
|
|||||||
[Switch] $SetSecure,
|
[Switch] $SetSecure,
|
||||||
[Parameter(Mandatory=$True, ValueFromPipeline=$False, ParameterSetName="SetSecure", HelpMessage = "Specifies a Array of NTP Servers")]
|
[Parameter(Mandatory=$True, ValueFromPipeline=$False, ParameterSetName="SetSecure", HelpMessage = "Specifies a Array of NTP Servers")]
|
||||||
[ValidateNotNullorEmpty()]
|
[ValidateNotNullorEmpty()]
|
||||||
[Array] $NTP,
|
[ipaddress[]] $NTP,
|
||||||
[Parameter(Mandatory=$False, ValueFromPipeline=$False, ParameterSetName="Secure", HelpMessage = "Execute Secure operation for exitsting NTP Servers")]
|
[Parameter(Mandatory=$False, ValueFromPipeline=$False, ParameterSetName="Secure", HelpMessage = "Execute Secure operation for exitsting NTP Servers")]
|
||||||
[Switch] $Secure
|
[Switch] $Secure
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user