diff --git a/ZertoApiWrapper/Public/Get-ZADatastore.ps1 b/ZertoApiWrapper/Public/Get-ZADatastore.ps1 index 60bdc9e..14f074a 100644 --- a/ZertoApiWrapper/Public/Get-ZADatastore.ps1 +++ b/ZertoApiWrapper/Public/Get-ZADatastore.ps1 @@ -20,7 +20,7 @@ function Get-ZADatastore { [Parameter( HelpMessage = "The datastore cluster identifier. Gets a list of datastores in the cluster.", ParameterSetName = "cluster", - Mandatory = "true" + Mandatory = $true )] [ValidateNotNullOrEmpty()] [string]$clusterIdentifier,