Update target host validation
This commit is contained in:
@@ -6,7 +6,7 @@ function Add-ZertoPeerSite {
|
||||
Mandatory,
|
||||
HelpMessage = "Target Hostname or IP address to pair the localsite to."
|
||||
)]
|
||||
[ValidateScript( { $_ -match [IPAddress]$_ } )]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string]$targetHost,
|
||||
[Parameter(
|
||||
HelpMessage = "Target communication port. Default is 9081"
|
||||
|
||||
Reference in New Issue
Block a user