Skip to content

Commit 6bdcdb5

Browse files
committed
Update Invoke-ComplianceSecurityFilterAction.md
New examples per request.
1 parent a32da97 commit 6bdcdb5

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

exchange/exchange-ps/exchange/Invoke-ComplianceSecurityFilterAction.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be a member
3838
```powershell
3939
PS C:\> Invoke-ComplianceSecurityFilterAction -Action GetStatus -PropertyName CustomAttribute1 -SiteUrl https://contoso-my.sharepoint.com/personal/lila_contoso_onmicrosoft_com/_layouts/15/onedrive.aspx
4040
41-
SiteUrl : https://contoso-my.sharepoint.com/personal/lila_contoso_onmicrosoft_com/_layouts/15/onedrive.aspx
41+
SiteUrlOrEmailAddress : https://contoso-my.sharepoint.com/personal/lila_contoso_onmicrosoft_com/_layouts/15/onedrive.aspx
4242
BoundaryType : UserMailbox
4343
BoundaryInstruction : Set via Set-Mailbox
4444
BoundaryObjectId : SPO_f82ace6e-817e-4752-8917-67164dabde98@SPO_775ea11f-a2af-7821-b04c-9848e903ce47
@@ -51,11 +51,60 @@ This example returns the status of a OneDrive site that's bound by the CustomAtt
5151

5252
### Example 2
5353
```powershell
54+
PS C:\> Invoke-ComplianceSecurityFi1terAction Action GetStatus -PropertyName "CustomAttribute3" -EmailAddress "[email protected]"
55+
56+
SiteUrlOrEmailAddress : [email protected]
57+
BoundaryType : Usermailbox
58+
Boundary Instruction : Set via Set-Mailbox
59+
BoundaryObjectId : [email protected]
60+
BoundaryStatus : Success
61+
Boundaryproperty : CustomAttribute3
62+
BoundaryPropertyVa1ue :
63+
```
64+
65+
This example ???.
66+
67+
### Example 3
68+
```powershell
69+
PS C:\> Invoke-ComplianceSecurityFi1terAction -Action GetStatus -PropertyName "CustomAttribute3" -EmailAddress "[email protected]"
70+
71+
SiteUrlOrEmai1Address : [email protected]
72+
BoundaryType : InactiveMaiIbox
73+
Boundarylnstruction : Set via Invoke-ComplianceSecurityFiIterAction -Set
74+
BoundaryObjectId : [email protected]
75+
BoundaryStatus : Success
76+
BoundaryProperty : CustomAttribute3
77+
BoundaryPropertyVa1ue : test33
78+
```
79+
80+
This example ???
81+
82+
### Example 4
83+
```powershell
5484
Invoke-ComplianceSecurityFilterAction -Action Set -PropertyName CustomAttribute1 -PropertyValue "Research and Development" -SiteUrl https://contoso-my.sharepoint.com/personal/lila_contoso_onmicrosoft_com/_layouts/15/onedrive.aspx
5585
```
5686

5787
This example sets the boundary of the specified OneDrive site for a user who left the company.
5888

89+
### Example 5
90+
```powershell
91+
PS C:\> Invoke-ComplianceSecurityFiIterAction -Action Set -PropertyName "CustomAttribute3" -PropertyVaIue "ProjectX" -EmailAddress "[email protected]"
92+
93+
Set action succeeded, please use GetStatus to check the result.
94+
95+
PS C:\> Invoke-ComplianceSecurityFiIterAction -Action GetStatus -PropertyName "CustomAttribute3" -EmailAddress "[email protected]"
96+
97+
SiteUrlOrEmai1Address : [email protected]
98+
Boundary Type : InactiveMaiIbox
99+
Boundarylnstruction : Set via Invoke-ComplianceSecurityFiIterAction -Set
100+
BoundaryObjectId : [email protected]
101+
BoundaryStatus : Success
102+
BoundaryProperty : CustomAttribute3
103+
BoundaryPropertyVa1ue : test33
104+
```
105+
106+
This example ???
107+
59108
## PARAMETERS
60109

61110
### -Action

0 commit comments

Comments
 (0)