@@ -19,14 +19,8 @@ This cmdlet enables the administrator to check status of all active and availabl
1919
2020## SYNTAX
2121
22- ``` powershell
23- Get-SPORestrictedAccessForSitesInsights -RACProtectedSites [-ReportId <Guid>] [-FullDetails] [-Action <ActionType>] [-InsightsSummary <Boolean>]
2422```
25-
26- ## SYNTAX
27-
28- ``` powershell
29- Get-SPORestrictedAccessForSitesInsights -ActionsBlockedByPolicy [-ReportId <Guid>] [-Content <ContentType>] [-Action <ActionType>]
23+ Get-SPORestrictedAccessForSitesInsights [-RACProtectedSites] [-ActionsBlockedByPolicy] [-ReportId <Guid>] [-Action <ActionType>] [-InsightsSummary] [-FullDetails] [-Content <SPOActionsBlockedByRACPolicyInsightType>] [<CommonParameters>]
3024```
3125
3226## DESCRIPTION
@@ -80,16 +74,16 @@ Example 3 enables administrator to view the report containing top sites with acc
8074
8175## PARAMETERS
8276
83- ### -RACProtectedSites
77+ ### -Action
8478
85- It is an optional parameter, and it specifies the type of report to be viewed or downloaded .
79+ It is an optional parameter, and it specifies whether to view or download a specific report .
8680
8781``` yaml
88- Type : SwitchParameter
82+ Type : ActionType
8983Parameter Sets : (All)
90- Aliases :
91- Applicable : SharePoint Online
92-
84+ Aliases :
85+ Accepted values : View, Download
86+
9387Required : False
9488Position : Named
9589Default value : None
@@ -104,97 +98,92 @@ It is an optional parameter, and it specifies the type of report to be viewed or
10498` ` ` yaml
10599Type : SwitchParameter
106100Parameter Sets : (All)
107- Aliases :
108- Applicable : SharePoint Online
109-
101+ Aliases :
102+
110103Required : False
111104Position : Named
112105Default value : None
113106Accept pipeline input : False
114107Accept wildcard characters : False
115108` ` `
116109
117- ### -ReportId
110+ ### -Content
118111
119- It is an optional parameter, and it specifies the unique Id of the report to be viewed or downloaded.
112+ It is an optional parameter, and it specifies the subtype of the report to be viewed or downloaded.
120113
121114` ` ` yaml
122- Type : Guid
115+ Type : SPOActionsBlockedByRACPolicyInsightType
123116Parameter Sets : (All)
124117Aliases :
125- Applicable : SharePoint Online
126-
118+ Accepted values : AllDenials, TopSites, TopUsers, SiteDistribution
119+
127120Required : False
128121Position : Named
129122Default value : None
130123Accept pipeline input : False
131124Accept wildcard characters : False
132125` ` `
133126
134- ### -InsightsSummary
127+ ### -FullDetails
135128
136- It is an optional parameter, and it specifies the subtype of the report to be viewed or downloaded .
129+ It is an optional parameter and allows to download a CSV file containing up to 1 million records .
137130
138131` ` ` yaml
139- Type : Bool
132+ Type : SwitchParameter
140133Parameter Sets : (All)
141134Aliases :
142- Applicable : SharePoint Online
143-
135+
144136Required : False
145137Position : Named
146- Default value : True
138+ Default value : None
147139Accept pipeline input : False
148140Accept wildcard characters : False
149141` ` `
150142
151- ### -Content
143+ ### -InsightsSummary
152144
153145It is an optional parameter, and it specifies the subtype of the report to be viewed or downloaded.
154146
155147` ` ` yaml
156- Type : ContentType
148+ Type : SwitchParameter
157149Parameter Sets : (All)
158150Aliases :
159- Applicable : SharePoint Online
160-
151+
161152Required : False
162153Position : Named
163154Default value : None
164155Accept pipeline input : False
165156Accept wildcard characters : False
166157` ` `
167158
168- ### -Action
159+ ### -RACProtectedSites
169160
170- It is an optional parameter, and it specifies whether to view or download a specific report .
161+ It is an optional parameter, and it specifies the type of report to be viewed or downloaded .
171162
172163` ` ` yaml
173- Type : ActionType
164+ Type : SwitchParameter
174165Parameter Sets : (All)
175166Aliases :
176- Applicable : SharePoint Online
177-
167+
178168Required : False
179169Position : Named
180170Default value : None
181171Accept pipeline input : False
182172Accept wildcard characters : False
183173` ` `
184174
185- ### -FullDetails
175+ ### -ReportId
186176
187- It is an optional parameter and allows to download a CSV file containing up to 1 million records .
177+ It is an optional parameter, and it specifies the unique Id of the report to be viewed or downloaded .
188178
189179` ` ` yaml
190- Type : SwitchParameter
180+ Type : Guid
191181Parameter Sets : (All)
192182Aliases :
193- Applicable : SharePoint Online
194-
183+
195184Required : False
196185Position : Named
197- Default value : False
186+ Default value : None
198187Accept pipeline input : False
199188Accept wildcard characters : False
200189` ` `
0 commit comments