File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/governance/policy/how-to Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ Parameters of the `New-GuestConfigurationPolicy` cmdlet:
94
94
- ** DisplayName** : Policy display name.
95
95
- ** Description** : Policy description.
96
96
- ** Parameter** : Policy parameters provided in hashtable format.
97
- - ** Version ** : Policy version.
97
+ - ** PolicyVersion ** : Policy version.
98
98
- ** Path** : Destination path where policy definitions are created.
99
99
- ** Platform** : Target platform (Windows/Linux) for guest configuration policy
100
100
and content package.
@@ -117,7 +117,7 @@ New-GuestConfigurationPolicy `
117
117
-Description 'Details about my policy.' `
118
118
-Path './policies' `
119
119
-Platform 'Windows' `
120
- -Version 1.0.0 `
120
+ -PolicyVersion 1.0.0 `
121
121
-Verbose
122
122
```
123
123
@@ -132,7 +132,7 @@ New-GuestConfigurationPolicy `
132
132
-Description 'Details about my policy.' `
133
133
-Path './policies' `
134
134
-Platform 'Windows' `
135
- -Version 1.0.0 `
135
+ -PolicyVersion 1.0.0 `
136
136
-Mode 'ApplyAndAutoCorrect' `
137
137
-Verbose
138
138
```
@@ -218,7 +218,7 @@ New-GuestConfigurationPolicy `
218
218
-Description 'Audit if a Windows Service isn't enabled on Windows machine.' `
219
219
-Path '.\policies' `
220
220
-Parameter $PolicyParameterInfo `
221
- -Version 1.0.0
221
+ -PolicyVersion 1.0.0
222
222
```
223
223
224
224
### Publish the Azure Policy definition
You can’t perform that action at this time.
0 commit comments