Made one correction and place policy file declaration in proper location.

This commit is contained in:
Kim Klein 2021-08-10 12:10:16 -07:00
parent 79374e0892
commit 26ecad46c2

View File

@ -280,15 +280,15 @@ Once you've completed configuring your chosen Managed Installer, by specifying w
1. Using the following command to deploy the policy. 1. Using the following command to deploy the policy.
```powershell ```powershell
$policyFile=
@"
Raw_AppLocker_Policy_XML
"@
Set-AppLockerPolicy -XmlPolicy $policyFile -Merge -ErrorAction SilentlyContinue Set-AppLockerPolicy -XmlPolicy $policyFile -Merge -ErrorAction SilentlyContinue
``` ```
2. Verify Deployment of the Rule set was successful 2. Verify Deployment of the Rule set was successful
```powershell ```powershell
$policyFile=
@"
Raw_AppLocker_Policy_XML
"@
Get-AppLockerPolicy -Local Get-AppLockerPolicy -Local
Version RuleCollections RuleCollectionTypes Version RuleCollections RuleCollectionTypes