Skip to content

Commit 520002d

Browse files
Update create-policy-definition.md
1 parent 91ff520 commit 520002d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/governance/machine-configuration/how-to/create-policy-definition.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Parameters of the `New-GuestConfigurationPolicy` cmdlet:
123123
For more information about the **Mode** parameter, see the page
124124
[How to configure remediation options for machine configuration][02].
125125

126-
Create a policy definition that audits using a custom configuration package, in a specified path:
126+
Create a policy definition that **audits** using a custom configuration package, in a specified path:
127127

128128
```powershell
129129
$PolicyConfig = @{
@@ -139,7 +139,7 @@ $PolicyConfig = @{
139139
New-GuestConfigurationPolicy @PolicyConfig
140140
```
141141

142-
Create a policy definition that deploys a configuration using a custom configuration package with a User Assigned Managed Identity:
142+
Create a policy definition that **enforces** a custom configuration package, in a specified path:
143143

144144
```powershell
145145
$PolicyConfig2 = @{
@@ -156,7 +156,7 @@ $PolicyConfig2 = @{
156156
New-GuestConfigurationPolicy @PolicyConfig2
157157
```
158158

159-
Create a policy definition that deploys a custom configuration package using a User Assigned Managed Identity:
159+
Create a policy definition that **enforces** a custom configuration package using a User-Assigned Managed Identity:
160160

161161
```powershell
162162
$PolicyConfig3 = @{
@@ -168,8 +168,8 @@ $PolicyConfig3 = @{
168168
Platform = 'Windows'
169169
PolicyVersion = 1.0.0
170170
Mode = 'ApplyAndAutoCorrect'
171-
contentLocalPath = "C:\Local\Path\To\Package"
172-
managedIdentityResourceId = "YourManagedIdentityResourceId"
171+
contentLocalPath = "C:\Local\Path\To\Package" # Required parameter for managed identity
172+
managedIdentityResourceId = "YourManagedIdentityResourceId" # Required parameter for managed identity
173173
}
174174
175175
New-GuestConfigurationPolicy @PolicyConfig3 -ExcludeArcMachines

0 commit comments

Comments
 (0)