Skip to content

Commit d42ab54

Browse files
authored
Merge pull request #1180 from anosov1960/master
Mande parameters optional
2 parents 997f5ed + 22fa4c8 commit d42ab54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/manage/azure-arc-enabled-sql-server/modify-license-type/modify-license-type.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
#
2424

2525
param (
26-
[Parameter (Mandatory=$true)]
26+
[Parameter (Mandatory=$false)]
2727
[string] $SubId,
28-
[Parameter (Mandatory= $true)]
28+
[Parameter (Mandatory= $false)]
2929
[string] $ResourceGroup,
3030
[Parameter (Mandatory= $false)]
3131
[string] $MachineName,
32-
[Parameter (Mandatory= $true)]
32+
[Parameter (Mandatory= $false)]
3333
[ValidateSet("PAYG","Paid","LicenseOnly", IgnoreCase=$false)]
3434
[string] $LicenseType,
35-
[Parameter (Mandatory= $true)]
35+
[Parameter (Mandatory= $false)]
3636
[ValidateSet("Yes","No", IgnoreCase=$false)]
3737
[string] $EnableESU,
3838
[Parameter (Mandatory= $true)]

0 commit comments

Comments
 (0)