diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md index 837c253fb..582b08ad2 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md @@ -19,14 +19,8 @@ This cmdlet enables the administrator to check status of all active and availabl ## SYNTAX -```powershell -Get-SPORestrictedAccessForSitesInsights -RACProtectedSites [-ReportId ] [-FullDetails] [-Action ] [-InsightsSummary ] ``` - -## SYNTAX - -```powershell -Get-SPORestrictedAccessForSitesInsights -ActionsBlockedByPolicy [-ReportId ] [-Content ] [-Action ] +Get-SPORestrictedAccessForSitesInsights [-RACProtectedSites] [-ActionsBlockedByPolicy] [-ReportId ] [-Action ] [-InsightsSummary] [-FullDetails] [-Content ] [] ``` ## DESCRIPTION @@ -80,16 +74,16 @@ Example 3 enables administrator to view the report containing top sites with acc ## PARAMETERS -### -RACProtectedSites +### -Action -It is an optional parameter, and it specifies the type of report to be viewed or downloaded. +It is an optional parameter, and it specifies whether to view or download a specific report. ```yaml -Type: SwitchParameter +Type: ActionType Parameter Sets: (All) -Aliases: -Applicable: SharePoint Online - +Aliases: +Accepted values: View, Download + Required: False Position: Named Default value: None @@ -104,9 +98,8 @@ It is an optional parameter, and it specifies the type of report to be viewed or ```yaml Type: SwitchParameter Parameter Sets: (All) -Aliases: -Applicable: SharePoint Online - +Aliases: + Required: False Position: Named Default value: None @@ -114,16 +107,16 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ReportId +### -Content -It is an optional parameter, and it specifies the unique Id of the report to be viewed or downloaded. +It is an optional parameter, and it specifies the subtype of the report to be viewed or downloaded. ```yaml -Type: Guid +Type: SPOActionsBlockedByRACPolicyInsightType Parameter Sets: (All) Aliases: -Applicable: SharePoint Online - +Accepted values: AllDenials, TopSites, TopUsers, SiteDistribution + Required: False Position: Named Default value: None @@ -131,33 +124,31 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -InsightsSummary +### -FullDetails -It is an optional parameter, and it specifies the subtype of the report to be viewed or downloaded. +It is an optional parameter and allows to download a CSV file containing up to 1 million records. ```yaml -Type: Bool +Type: SwitchParameter Parameter Sets: (All) Aliases: -Applicable: SharePoint Online - + Required: False Position: Named -Default value: True +Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -Content +### -InsightsSummary It is an optional parameter, and it specifies the subtype of the report to be viewed or downloaded. ```yaml -Type: ContentType +Type: SwitchParameter Parameter Sets: (All) Aliases: -Applicable: SharePoint Online - + Required: False Position: Named Default value: None @@ -165,16 +156,15 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Action +### -RACProtectedSites -It is an optional parameter, and it specifies whether to view or download a specific report. +It is an optional parameter, and it specifies the type of report to be viewed or downloaded. ```yaml -Type: ActionType +Type: SwitchParameter Parameter Sets: (All) Aliases: -Applicable: SharePoint Online - + Required: False Position: Named Default value: None @@ -182,19 +172,18 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -FullDetails +### -ReportId -It is an optional parameter and allows to download a CSV file containing up to 1 million records. +It is an optional parameter, and it specifies the unique Id of the report to be viewed or downloaded. ```yaml -Type: SwitchParameter +Type: Guid Parameter Sets: (All) Aliases: -Applicable: SharePoint Online - + Required: False Position: Named -Default value: False +Default value: None Accept pipeline input: False Accept wildcard characters: False ```