Skip to content

Commit dda85d5

Browse files
Merge pull request #210840 from timwarner-msft/timwarner-gccmdlet
Fix PolicyID parameter data type
2 parents 3cec967 + 72344dc commit dda85d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/governance/machine-configuration/machine-configuration-create-definition.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: How to create custom machine configuration policy definitions
33
description: Learn how to create a machine configuration policy.
4-
ms.date: 08/09/2022
4+
ms.date: 09/12/2022
55
ms.topic: how-to
66
ms.service: machine-configuration
77
ms.author: timwarner
@@ -86,14 +86,14 @@ create the machine configuration policy definition. The `New-GuestConfigurationP
8686
cmdlet takes a custom policy package and creates a policy definition.
8787

8888
The **PolicyId** parameter of `New-GuestConfigurationPolicy` requires a unique
89-
string. A globally unique identifier (GUID) is recommended. For new definitions,
89+
string. A globally unique identifier (GUID) is required. For new definitions,
9090
generate a new GUID using the cmdlet `New-GUID`. When making updates to the
9191
definition, use the same unique string for **PolicyId** to ensure the correct
9292
definition is updated.
9393

9494
Parameters of the `New-GuestConfigurationPolicy` cmdlet:
9595

96-
- **PolicyId**: A GUID or other unique string that identifies the definition.
96+
- **PolicyId**: A GUID.
9797
- **ContentUri**: Public HTTP(s) URI of machine configuration content package.
9898
- **DisplayName**: Policy display name.
9999
- **Description**: Policy description.
@@ -133,7 +133,7 @@ configuration package, in a specified path:
133133
```powershell
134134
$PolicyConfig2 = @{
135135
PolicyId = '_My GUID_'
136-
ContentUri = $contenturi
136+
ContentUri = $contenturi
137137
DisplayName = 'My audit policy'
138138
Description = 'My audit policy'
139139
Path = './policies/deployIfNotExists.json'

0 commit comments

Comments
 (0)