From 03eab75079511dcb102c2352cf21945d8e57d727 Mon Sep 17 00:00:00 2001 From: Kartik P V R Date: Mon, 12 May 2025 11:44:02 +0530 Subject: [PATCH 1/3] Updating proper syntax for RACInsights --- .../Get-SPORestrictedAccessForSitesInsights.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md index 837c253fb..89b299615 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md @@ -20,13 +20,15 @@ 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 From f5888f752dcea4d0511a4a377822416d5cff8247 Mon Sep 17 00:00:00 2001 From: Kartik P V R Date: Mon, 12 May 2025 13:23:27 +0530 Subject: [PATCH 2/3] Formatting changes --- .../Get-SPORestrictedAccessForSitesInsights.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md index 89b299615..458b2c4f6 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md @@ -20,15 +20,7 @@ This cmdlet enables the administrator to check status of all active and availabl ## SYNTAX ```powershell -Get-SPORestrictedAccessForSitesInsights -[-RACProtectedSites] -[-ActionsBlockedByPolicy] -[-ReportId ] -[-Action ] -[-InsightsSummary] -[-FullDetails] -[-Content ] -[] +Get-SPORestrictedAccessForSitesInsights [-RACProtectedSites] [-ActionsBlockedByPolicy] [-ReportId ] [-Action ] [-InsightsSummary] [-FullDetails] [-Content ] [] ``` ## DESCRIPTION From a7c7275799347e1d6fcbc5939b5dceceef396843 Mon Sep 17 00:00:00 2001 From: Kartik P V R Date: Tue, 13 May 2025 10:31:55 +0530 Subject: [PATCH 3/3] Updating with platyps output --- ...Get-SPORestrictedAccessForSitesInsights.md | 67 +++++++++---------- 1 file changed, 31 insertions(+), 36 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md index 458b2c4f6..582b08ad2 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Get-SPORestrictedAccessForSitesInsights.md @@ -19,7 +19,7 @@ This cmdlet enables the administrator to check status of all active and availabl ## SYNTAX -```powershell +``` Get-SPORestrictedAccessForSitesInsights [-RACProtectedSites] [-ActionsBlockedByPolicy] [-ReportId ] [-Action ] [-InsightsSummary] [-FullDetails] [-Content ] [] ``` @@ -74,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 @@ -98,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 @@ -108,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 @@ -125,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 @@ -159,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 @@ -176,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 ```