Skip to content

Commit 04490bc

Browse files
Merge pull request #890 from pvrk/pvrk-SharePointPS-Apr
Updating proper syntax for RACInsights
2 parents debcd30 + c6251ee commit 04490bc

File tree

1 file changed

+31
-42
lines changed

1 file changed

+31
-42
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md

Lines changed: 31 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -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
8983
Parameter Sets: (All)
90-
Aliases:
91-
Applicable: SharePoint Online
92-
84+
Aliases:
85+
Accepted values: View, Download
86+
9387
Required: False
9488
Position: Named
9589
Default value: None
@@ -104,97 +98,92 @@ It is an optional parameter, and it specifies the type of report to be viewed or
10498
```yaml
10599
Type: SwitchParameter
106100
Parameter Sets: (All)
107-
Aliases:
108-
Applicable: SharePoint Online
109-
101+
Aliases:
102+
110103
Required: False
111104
Position: Named
112105
Default value: None
113106
Accept pipeline input: False
114107
Accept 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
123116
Parameter Sets: (All)
124117
Aliases:
125-
Applicable: SharePoint Online
126-
118+
Accepted values: AllDenials, TopSites, TopUsers, SiteDistribution
119+
127120
Required: False
128121
Position: Named
129122
Default value: None
130123
Accept pipeline input: False
131124
Accept 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
140133
Parameter Sets: (All)
141134
Aliases:
142-
Applicable: SharePoint Online
143-
135+
144136
Required: False
145137
Position: Named
146-
Default value: True
138+
Default value: None
147139
Accept pipeline input: False
148140
Accept wildcard characters: False
149141
```
150142
151-
### -Content
143+
### -InsightsSummary
152144
153145
It 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
157149
Parameter Sets: (All)
158150
Aliases:
159-
Applicable: SharePoint Online
160-
151+
161152
Required: False
162153
Position: Named
163154
Default value: None
164155
Accept pipeline input: False
165156
Accept 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
174165
Parameter Sets: (All)
175166
Aliases:
176-
Applicable: SharePoint Online
177-
167+
178168
Required: False
179169
Position: Named
180170
Default value: None
181171
Accept pipeline input: False
182172
Accept 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
191181
Parameter Sets: (All)
192182
Aliases:
193-
Applicable: SharePoint Online
194-
183+
195184
Required: False
196185
Position: Named
197-
Default value: False
186+
Default value: None
198187
Accept pipeline input: False
199188
Accept wildcard characters: False
200189
```

0 commit comments

Comments
 (0)