Skip to content

Documentation about 2 existing commands#913

Merged
Ruchika-mittal01 merged 5 commits intoMicrosoftDocs:mainfrom
pvrk:pvrk-SharePointPS-Apr
Jun 16, 2025
Merged

Documentation about 2 existing commands#913
Ruchika-mittal01 merged 5 commits intoMicrosoftDocs:mainfrom
pvrk:pvrk-SharePointPS-Apr

Conversation

@pvrk
Copy link
Contributor

@pvrk pvrk commented Jun 10, 2025

No description provided.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 06f4544:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/sharepoint-online/Get-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/sharepoint-online/Start-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@dstrome dstrome added the Triage-InProgress PR is being handled by an existing writer or process. label Jun 10, 2025
### Example 1

```powershell
PS C:\> Get-SPOInformationBarriersInsightsReport -reportId ec65a1cf-9b1a-48c2-a1b4-f923ac4c0776
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PS C:>

we don't include this "PS C:>"

here and elsewhere #Closed

Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

applies to the other file as well

Id: ec65a1cf-9b1a-48c2-a1b4-f923ac4c0776
StartTimeInUtc: 4/25/2023 4:10:16 PM
CompleteTimeInUtc: 4/25/2023 4:10:25 PM
QueuedTimeInUtc: 4/25/2023 4:06:47 PM
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't include example output.

here and elsewhere #Closed


### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.


## SYNOPSIS

This cmdlet generates reports in information barriers (IB) meant to identify and discover usage patterns across SharePoint sites and OneDrive accounts in the organization.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reports in information barriers

I don't think wording "reports in information barriers" is clear

is it reports "about" information barriers? #Closed


## DESCRIPTION

This cmdlet would create reports in Information Barriers (IB) to identify top sites and their modes to help apply suitable controls for the sites as applicable.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Information Barriers

use consistent casing throughout the docs -- is it uppercase "I" and "B" or lowercase? #Closed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and actually for this sentence and others coming after this you can just use "IB" since you already defined the acronym IB with the first reference line 18


## SYNOPSIS

This cmdlet generates reports in information barriers (IB) meant to identify and discover usage patterns across SharePoint sites and OneDrive accounts in the organization.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cmdlet generates

"Generates..." (remove "This cmdlet...") #Closed


## DESCRIPTION

This cmdlet would create reports in Information Barriers (IB) to identify top sites and their modes to help apply suitable controls for the sites as applicable.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would create

use simple present tense instead of conditional tense.

"would create" -> "creates"

other places too #Closed


## DESCRIPTION

This cmdlet would create reports in Information Barriers (IB) to identify top sites and their modes to help apply suitable controls for the sites as applicable.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modes

what's a "mode"? could you link documentation for it as well? #Closed

### Example 1

```powershell
PS C:\> Start-SPOInformationBarriersInsightsReport
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PS C:>

remove "PS :>" #Closed

PS C:\> Start-SPOInformationBarriersInsightsReport
```

This PS command would create Information Barriers reports to identify top sites and their modes to help apply suitable controls for the sites as applicable.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PS command would create Information Barriers

"This cmdlet creates IB reports..." #Closed


## PARAMETERS

### -Yes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-Yes

this is an awkwardly named parameter.

so someone uses it like

-Yes $true

or

-Yes $false

?

Copy link
Contributor

@samkabue samkabue Jun 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pvrk given the updated description of this param, I think "-Yes" param can be removed from the backend code. Instead, add support for ShouldProcess -- this is an inbuilt PowerShell thing, when it's set, it requires user confirmation.

User can bypass confirmation by doing Confirm:$false

https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/everything-about-shouldprocess?view=powershell-5.1

note: this shouldn't block this PR, but should be a follow up fix for the backend PR then docs update


### -Yes

This boolean parameter will start generating the IB report.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not clear what this means -- how can a parameter generate a report? #Closed


### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.


## SYNOPSIS

This cmdlet helps to view the status of the insights on Information Barrier (IB).
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this description could be improved. does it get "status" or actual reports? #Closed


## DESCRIPTION

This cmdlet helps to view the details of the specific parameters from the insights report.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs improvement. #Closed

QueuedTimeInUtc: 4/25/2023 4:06:47 PM
```

In the above example, the insights report results are displayed for SharePoint sites included in the organization with an ID of ec65a1cf-9b1a-48c2-a1b4-f923ac4c0776. The values in the Content line represent the modes that have results in the report. If a mode (applicable to SharePoint) isn't listed, there aren't any SharePoint sites in the organization with that mode.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mode

see other file: mode should be documented somewhere #Closed

QueuedTimeInUtc: 4/25/2023 4:06:47 PM
```

The above cmdlet helps to view summary of the modes with results for OneDrive sites from the generated report ID. In the above example, the insights report results are displayed for OneDrive accounts included in the organization with an ID of ec65a1cf-9b1a-48c2-a1b4-f923ac4c0776. The values in the Content line represent the modes that have results in the report. If a mode (applicable to OneDrive) isn't listed, there aren't any OneDrive accounts in the organization with that mode.
Copy link
Contributor

@samkabue samkabue Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The above cmdlet

"This example..." #Closed

@samkabue samkabue added the Back to submitter The pull request didn't pass the review criteria and has been returned to the writer for updates label Jun 11, 2025
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit f261f86:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/sharepoint-online/Get-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/sharepoint-online/Start-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.


## SYNOPSIS

Rnables the SharePoint administrator to check status of all active and completed reports of insights on Information Barriers (IB).
Copy link
Contributor

@samkabue samkabue Jun 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rnables

typo - "Enables" #Closed


## SYNOPSIS

Rnables the SharePoint administrator to check status of all active and completed reports of insights on Information Barriers (IB).
Copy link
Contributor

@samkabue samkabue Jun 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

administrator

we use official Entra name for this, so uppercase "A" -- "Administrator" #Closed


|Property |Description |
|---------|---------|
|Content | Display the [modes of IB](/purview/information-barriers-insights-report) for sites present in the report. |
Copy link
Contributor

@samkabue samkabue Jun 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modes of IB

"IB modes" #Closed

### Example 1

```powershell
Get-SPOInformationBarriersInsightsReport -reportId ec65a1cf-9b1a-48c2-a1b4-f923ac4c0776
Copy link
Contributor

@samkabue samkabue Jun 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reportId

here and others: use right casing for the param.

ReportId #Closed

### -Action

It determines whether a report would be viewed or downloaded. If the value of -Action is set as View, it will display the output on the PowerShell screen. Else if the value of -Action is set as Download, it will download the full report in CSV format to the same path from where the command was run.

Copy link
Contributor

@samkabue samkabue Jun 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be improved further. Here's the suggestion I got from Copilot:

Specifies whether the report is displayed in the console or downloaded as a file.

  • If set to View, the report is displayed directly in the PowerShell window.
  • If set to Download, the report is saved as a CSV file in the directory where the command is run. #Closed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

surround View and Download with backticks

`View`
`Download`

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit e106446:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/sharepoint-online/Get-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/sharepoint-online/Start-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@samkabue samkabue added Sign off The pull request is ready to be reviewed and merged by PubOps and removed Back to submitter The pull request didn't pass the review criteria and has been returned to the writer for updates labels Jun 16, 2025
@Ruchika-mittal01 Ruchika-mittal01 self-assigned this Jun 16, 2025
@Ruchika-mittal01 Ruchika-mittal01 added the In review PubOps is reviewing the pull request label Jun 16, 2025
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 7d48139:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/sharepoint-online/Get-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/sharepoint-online/Start-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit ae57264:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/sharepoint-online/Get-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/sharepoint-online/Start-SPOInformationBarriersInsightsReport.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@Ruchika-mittal01 Ruchika-mittal01 added the PubOps fixes PubOps has fixed some issues in this PR. label Jun 16, 2025
@Ruchika-mittal01 Ruchika-mittal01 merged commit 74c3e91 into MicrosoftDocs:main Jun 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In review PubOps is reviewing the pull request Microsoft submitter PubOps fixes PubOps has fixed some issues in this PR. Sign off The pull request is ready to be reviewed and merged by PubOps Triage-InProgress PR is being handled by an existing writer or process.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants