File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: This article describes how to use Windows Defender Application Cont
4
4
author : alkohli
5
5
ms.author : alkohli
6
6
ms.topic : how-to
7
- ms.date : 11/15 /2024
7
+ ms.date : 11/17 /2024
8
8
ms.service : azure-stack-hci
9
9
---
10
10
@@ -83,12 +83,16 @@ Use the following steps to create a supplemental policy:
83
83
1 . Run the following cmdlet to modify the metadata of your supplemental policy:
84
84
85
85
``` powershell
86
+
87
+ # Path of new created XML)
88
+ $policyPath = "c:\wdac\Contoso-policy.xml"
89
+
86
90
# Set Policy Version (VersionEx in the XML file)
87
91
$policyVersion = "1.0.0.1"
88
92
Set-CIPolicyVersion -FilePath $policyPath -Version $policyVersion
89
93
90
94
# 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"
92
96
```
93
97
94
98
1 . Run the following cmdlet to deploy the policy:
You can’t perform that action at this time.
0 commit comments