mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-20 17:27:23 +00:00
Update citool-commands.md
This commit is contained in:
parent
1fecca2118
commit
856a66734a
@ -64,8 +64,8 @@ CiTool makes Windows Defender Application Control (WDAC) policy management easie
|
||||
|
||||
4. List the actively enforced WDAC policies on the system
|
||||
|
||||
```powershell
|
||||
$wdacPolicies = (CiTool -lp -json | ConvertFrom-Json).Policies
|
||||
```powershell
|
||||
$wdacPolicies = (CiTool -lp -json | ConvertFrom-Json).Policies
|
||||
|
||||
# Check each policy's IsEnforced state and return only the enforced policies
|
||||
foreach($wdacPolicy in $wdacPolicies ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user