@@ -123,7 +123,7 @@ Parameters of the `New-GuestConfigurationPolicy` cmdlet:
123
123
For more information about the ** Mode** parameter, see the page
124
124
[ How to configure remediation options for machine configuration] [ 02 ] .
125
125
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:
127
127
128
128
``` powershell
129
129
$PolicyConfig = @{
@@ -139,7 +139,7 @@ $PolicyConfig = @{
139
139
New-GuestConfigurationPolicy @PolicyConfig
140
140
```
141
141
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 :
143
143
144
144
``` powershell
145
145
$PolicyConfig2 = @{
@@ -156,7 +156,7 @@ $PolicyConfig2 = @{
156
156
New-GuestConfigurationPolicy @PolicyConfig2
157
157
```
158
158
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:
160
160
161
161
``` powershell
162
162
$PolicyConfig3 = @{
@@ -168,8 +168,8 @@ $PolicyConfig3 = @{
168
168
Platform = 'Windows'
169
169
PolicyVersion = 1.0.0
170
170
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
173
173
}
174
174
175
175
New-GuestConfigurationPolicy @PolicyConfig3 -ExcludeArcMachines
0 commit comments