Skip to content

Commit 8b261b0

Browse files
committed
minor edits
1 parent 0e1f16b commit 8b261b0

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

articles/update-center/manage-arc-enabled-servers-programmatically.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,28 @@ To specify the POST request, you can use the Azure PowerShell [Invoke-AzRestMeth
4747

4848
```azurepowershell
4949
Invoke-AzRestMethod-Path
50-
"/subscriptions/subscriptionId/resourceGroups/resourcegroupname/providers/Microsoft.HybridCompute/machines/machinename/assessPatches?api-version=2020-08-15-preview" -Payload '{}' -Method POST
50+
"/subscriptions/subscriptionId/resourceGroups/resourcegroupname/providers/Microsoft.HybridCompute/machines/machinename/assessPatches?api-version=2020-08-15-preview"
51+
-Payload '{
52+
"maximumDuration": "PT120M",
53+
"rebootSetting": "IfRequired",
54+
"windowsParameters": {
55+
"classificationsToInclude": [
56+
"Security",
57+
"UpdateRollup",
58+
"FeaturePack",
59+
"ServicePack"
60+
],
61+
"kbNumbersToInclude": [
62+
"11111111111",
63+
"22222222222222"
64+
],
65+
"kbNumbersToExclude": [
66+
"333333333333",
67+
"55555555555"
68+
]
69+
}
70+
}'
71+
-Method POST
5172
```
5273

5374
---

0 commit comments

Comments
 (0)