Skip to content

Commit 45543b8

Browse files
authored
Update README.md
1 parent 59c17f1 commit 45543b8

File tree

1 file changed

+9
-26
lines changed

1 file changed

+9
-26
lines changed

README.md

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -568,40 +568,23 @@ Verified creation and assignment options in Microsoft Intune admin center:
568568
569569
### Add-ExclusionGroupToPolicy
570570

571-
Instead of updating or removing an AV, ASR, etc. policy you can simply add an exclusion group which will keep any groups members (users/devices) exempt from the policy rules in place.
571+
Instead of updating or removing an AV, ASR, Bitlocker etc. policy you can simply add an exclusion group which will keep any groups members (users/devices) exempt from the policy rules in place.
572572

573-
#### Example:
574-
```
575-
# graphpython.py --command display-avpolicyrules --id ced2b019-0cd7-4ef4-80ec-b0bde25bfda4 --token .\intune
573+
Take the following Attack Surface Reduction (ASR) policy:
576574

577-
[*] Display-AVPolicyRules
578-
================================================================================
579-
Excluded extensions : .ps1
580-
Excluded paths : C:\programdata
581-
Excluded processes : C:\WINDOWS\Explorer.EXE
582-
================================================================================
583-
```
584-
Add an exclusion group to the Microsoft Defender Antivirus exclusions policy above:
585-
```
586-
# graphpython.py --command add-exclusiongrouptopolicy --id ced2b019-0cd7-4ef4-80ec-b0bde25bfda4 --token .\intune
575+
![](./.github/addexclusiongroup1.png)
587576

588-
[*] Add-ExclusionGroupToPolicy
589-
================================================================================
577+
Currently assigned to all users and devices:
590578

591-
Enter Group ID To Exclude: 46a6f18e-e243-492d-ae24-f5f301dd49bb
579+
![](./.github/addexclusiongroup2.png)
592580

593-
[+] Excluded group added to policy rules
594-
================================================================================
595-
```
596-
#### Output:
581+
Adding an exclusion group to the ASR policy above:
597582

598-
Verify the changes have been applied and Excluded Group ID has been added:
583+
![](./.github/addexclusiongroup3.png)
599584

600-
```
601-
# graphpython.py --command get-deviceconfigurationpolicies --token .\intune
602-
```
585+
Verify the changes have been applied and Excluded Group ID has been added to the ASR policy:
603586

604-
![](./.github/excludedgroupav.png)
587+
![](./.github/addexclusiongroup4.png)
605588

606589
<br>
607590

0 commit comments

Comments
 (0)