Skip to content

Commit ba4d5a8

Browse files
Merge pull request #16362 from alkohli/19-azlreb
Changes from PR 15856
2 parents 6b059c5 + 233d0fc commit ba4d5a8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

azure-local/manage/manage-wdac.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article describes how to use Windows Defender Application Cont
44
author: alkohli
55
ms.author: alkohli
66
ms.topic: how-to
7-
ms.date: 11/15/2024
7+
ms.date: 11/17/2024
88
ms.service: azure-stack-hci
99
---
1010

@@ -83,12 +83,16 @@ Use the following steps to create a supplemental policy:
8383
1. Run the following cmdlet to modify the metadata of your supplemental policy:
8484

8585
```powershell
86+
87+
# Path of new created XML)
88+
$policyPath = "c:\wdac\Contoso-policy.xml"
89+
8690
# Set Policy Version (VersionEx in the XML file)
8791
$policyVersion = "1.0.0.1"
8892
Set-CIPolicyVersion -FilePath $policyPath -Version $policyVersion
8993
9094
# Set Policy Info (PolicyName, PolicyID in the XML file)
91-
Set-CIPolicyIdInfo -FilePath c:\wdac\Contoso-policy.xml -PolicyID "Contoso-Policy_$policyVersion" -PolicyName "Contoso-Policy"
95+
Set-CIPolicyIdInfo -FilePath $policyPath -PolicyID "Contoso-Policy_$policyVersion" -PolicyName "Contoso-Policy"
9296
```
9397

9498
1. Run the following cmdlet to deploy the policy:

0 commit comments

Comments
 (0)