select-datastore: make cluster parameter mandatory (#6112)

This commit is contained in:
Mikhail Koliada
2022-08-19 13:56:31 +02:00
committed by GitHub
parent 96fa9f7471
commit 7910ae1578

View File

@@ -36,9 +36,11 @@ param(
[ValidateNotNullOrEmpty()] [ValidateNotNullOrEmpty()]
[string]$VIPassword, [string]$VIPassword,
[string]$TagCategory = "Busy", [Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$Cluster,
[string]$Cluster [string]$TagCategory = "Busy"
) )
# Import helpers module # Import helpers module