script-samples
script-samples copied to clipboard
A sample gallery of scripts to manage all things Microsoft 365.
I have created the PowerShell script, so just need to write guidance and let folks know it exists.
In reference to #516, the cmdlet output may have changed in latest PnP PowerShell affecting the report. This was fixed but there maybe others. List here
This is a major jump, because of the new versions of Material etc.
Examples include: - Using the existing report scripts, create a new report to detect if a script contains references to cmdlets that are out of date, renamed or no longer...
This contribution adds a new sample to the repository: The `Get-SiteStructure` function is a PowerShell function that could be used as a part of a larger script or module. Its...
This sample script deletes specified SharePoint Online sites that have a retention policy applied by excluding them from the retention policy, deleting the site and then cleaning up the retention...
Hi Paul, just another small utility script
PnP PowerShell version of the script to replace owner in power automate flows
A very small sample but a very useful one. This sample shows how to update a list item in a SharePoint list without updating the **Modified** and **Modified By** fields,...