Skip to content

Commit 8087083

Browse files
author
Alexander (Sasha) Nosov
committed
Added Out-Null
1 parent 1c6e117 commit 8087083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ foreach ($sub in $subscriptions){
171171
if ($settings["LicenseType"] -ne $LicenseType ) {
172172
$settings["LicenseType"] = $LicenseType
173173
Write-Host "Resource group: [$($r.resourceGroup)] Connected machine: [$($r.MachineName)] : License type: [$($settings["LicenseType"])]"
174-
Set-AzConnectedMachineExtension @setId -Settings $settings -NoWait
174+
Set-AzConnectedMachineExtension @setId -Settings $settings -NoWait | Out-Null
175175
}
176176
}
177177
} else {

0 commit comments

Comments
 (0)