Skip to content

Commit e1bbc24

Browse files
Merge pull request #266409 from mgreenegit/patch-7
Case sensitive parameter and policy name
2 parents 3c072d4 + 63fea93 commit e1bbc24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Parameters of the `New-GuestConfigurationPolicy` cmdlet:
108108
- **Path**: Destination path where policy definitions are created.
109109
- **Platform**: Target platform (Windows/Linux) for machine configuration policy and content
110110
package.
111-
- **Mode**: (`ApplyAndMonitor`, `ApplyAndAutoCorrect`, `Audit`) choose if the policy should audit
111+
- **Mode**: (case sensitive: `ApplyAndMonitor`, `ApplyAndAutoCorrect`, `Audit`) choose if the policy should audit
112112
or deploy the configuration. The default is `Audit`.
113113
- **Tag** adds one or more tag filters to the policy definition
114114
- **Category** sets the category metadata field in the policy definition
@@ -139,8 +139,8 @@ specified path:
139139
$PolicyConfig2 = @{
140140
PolicyId = '_My GUID_'
141141
ContentUri = $contentUri
142-
DisplayName = 'My audit policy'
143-
Description = 'My audit policy'
142+
DisplayName = 'My deployment policy'
143+
Description = 'My deployment policy'
144144
Path = './policies/deployIfNotExists.json'
145145
Platform = 'Windows'
146146
PolicyVersion = 1.0.0

0 commit comments

Comments
 (0)