@@ -38,7 +38,7 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be a member
38
38
``` powershell
39
39
PS C:\> Invoke-ComplianceSecurityFilterAction -Action GetStatus -PropertyName CustomAttribute1 -SiteUrl https://contoso-my.sharepoint.com/personal/lila_contoso_onmicrosoft_com/_layouts/15/onedrive.aspx
40
40
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
42
42
BoundaryType : UserMailbox
43
43
BoundaryInstruction : Set via Set-Mailbox
44
44
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
51
51
52
52
### Example 2
53
53
``` 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
54
84
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
55
85
```
56
86
57
87
This example sets the boundary of the specified OneDrive site for a user who left the company.
58
88
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
+
59
108
## PARAMETERS
60
109
61
110
### -Action
0 commit comments