mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
Update windows-defender-application-control-deployment-guide.md
This commit is contained in:
parent
9750879265
commit
a4f7a581af
@ -30,7 +30,7 @@ You should now have one or more Windows Defender Application Control (WDAC) poli
|
|||||||
|
|
||||||
Before you deploy your WDAC policies, you must first convert the XML to its binary form. You can do this using the following PowerShell example. You must set the $WDACPolicyXMLFile variable to point to your WDAC policy XML file.
|
Before you deploy your WDAC policies, you must first convert the XML to its binary form. You can do this using the following PowerShell example. You must set the $WDACPolicyXMLFile variable to point to your WDAC policy XML file.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
## Update the path to your WDAC policy XML
|
## Update the path to your WDAC policy XML
|
||||||
$WDACPolicyXMLFile = $env:USERPROFILE"\Desktop\MyWDACPolicy.xml"
|
$WDACPolicyXMLFile = $env:USERPROFILE"\Desktop\MyWDACPolicy.xml"
|
||||||
[xml]$WDACPolicy = Get-Content -Path $WDACPolicyXMLFile
|
[xml]$WDACPolicy = Get-Content -Path $WDACPolicyXMLFile
|
||||||
@ -46,7 +46,7 @@ Before you deploy your WDAC policies, you must first convert the XML to its bina
|
|||||||
|
|
||||||
## Binary file will be written to your desktop
|
## Binary file will be written to your desktop
|
||||||
ConvertFrom-CIPolicy -XmlFilePath $WDACPolicyXMLFile -BinaryFilePath $env:USERPROFILE\Desktop\$PolicyBinary
|
ConvertFrom-CIPolicy -XmlFilePath $WDACPolicyXMLFile -BinaryFilePath $env:USERPROFILE\Desktop\$PolicyBinary
|
||||||
```
|
```
|
||||||
|
|
||||||
## Plan your deployment
|
## Plan your deployment
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user