Update citool-commands.md

This commit is contained in:
valemieux
2023-03-27 11:53:15 -07:00
parent 0381f6146c
commit c381792ed9

View File

@ -65,7 +65,7 @@ CiTool makes Windows Defender Application Control (WDAC) policy management easie
4. List the actively enforced WDAC policies on the system 4. List the actively enforced WDAC policies on the system
```powershell ```powershell
# Check each policy's IsEnforced state and return only the enforced policies # Check each policy's IsEnforced state and return only the enforced policies
(CiTool -lp -json | ConvertFrom-Json).Policies | Where-Object {$_.IsEnforced -eq "True"} | (CiTool -lp -json | ConvertFrom-Json).Policies | Where-Object {$_.IsEnforced -eq "True"} |
Select-Object -Property PolicyID,FriendlyName | Format-List Select-Object -Property PolicyID,FriendlyName | Format-List
``` ```