Skip to content

Commit d82dfc0

Browse files
author
Alexander (Sasha) Nosov
committed
Fixed optionality
1 parent 354ecc4 commit d82dfc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# -LicenseType [license_type_value] (Optional. Sets the license type to the specified value)
1515
# -EnabelESU [Yes or No] (Optional. Enables the ESU policy the value is "Yes" or disables it if the value is "No"
1616
# To enable, the license type must be "Paid" or "PAYG"
17-
# -Force [$true or $false] (Optional. Forces the chnahge of the license type to the specified value on all installed extensions.
17+
# -Force (Optional. Forces the chnahge of the license type to the specified value on all installed extensions.
1818
# If Force is not specified, the -LicenseType value is set only if undefined. Ignored if -LicenseType is not specified
1919
#
2020
# This script uses a function ConvertTo-HashTable that was created by Adam Bertram (@adam-bertram).
@@ -35,7 +35,7 @@ param (
3535
[Parameter (Mandatory= $false)]
3636
[ValidateSet("Yes","No", IgnoreCase=$false)]
3737
[string] $EnableESU,
38-
[Parameter (Mandatory= $true)]
38+
[Parameter (Mandatory= $false)]
3939
[switch] $Force
4040
)
4141

0 commit comments

Comments
 (0)