Merge pull request #1180 from anosov1960/master

Mande parameters optional
This commit is contained in:
Alexander (Sasha) Nosov
2023-07-05 14:30:16 -07:00
committed by GitHub
@@ -23,16 +23,16 @@
#
param (
[Parameter (Mandatory=$true)]
[Parameter (Mandatory=$false)]
[string] $SubId,
[Parameter (Mandatory= $true)]
[Parameter (Mandatory= $false)]
[string] $ResourceGroup,
[Parameter (Mandatory= $false)]
[string] $MachineName,
[Parameter (Mandatory= $true)]
[Parameter (Mandatory= $false)]
[ValidateSet("PAYG","Paid","LicenseOnly", IgnoreCase=$false)]
[string] $LicenseType,
[Parameter (Mandatory= $true)]
[Parameter (Mandatory= $false)]
[ValidateSet("Yes","No", IgnoreCase=$false)]
[string] $EnableESU,
[Parameter (Mandatory= $true)]