Implemented Jordan's suggested edits.

This commit is contained in:
Kim Klein
2021-08-10 12:05:54 -07:00
parent 40db0defb8
commit 79374e0892

View File

@ -283,17 +283,22 @@ Once you've completed configuring your chosen Managed Installer, by specifying w
Set-AppLockerPolicy -XmlPolicy $policyFile -Merge -ErrorAction SilentlyContinue Set-AppLockerPolicy -XmlPolicy $policyFile -Merge -ErrorAction SilentlyContinue
``` ```
2. Verify policy deployment 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
------- --------------- ------------------- ------- --------------- -------------------
1 {0, 0, 0, 0...} {Appx, Dll, Exe, ManagedInstaller...} 1 {0, 0, 0, 0...} {Appx, Dll, Exe, ManagedInstaller...}
``` ```
Notice the output shows the ManagedInstaller rule is there. Verify the output shows the ManagedInstaller rule set.
3. Get the policy XML (optional) using PS: 3. Get the policy XML (optional) using PS:
```powershell ```powershell
Get-AppLockerPolicy -Effective -Xml -ErrorVariable ev -ErrorAction SilentlyContinue Get-AppLockerPolicy -Effective -Xml -ErrorVariable ev -ErrorAction SilentlyContinue
``` ```
This command will show the raw XML to verify the individual rules that were set.