PowerShell

SharePoint Term Store with PowerShell and JavaScript

This post covers a different problem than How to Update Term Store Values with REST API, MS Graph, JavaScript, and PnPjs. That post covers editing the terms themselves (renaming, restructuring the taxonomy). This one is about the far more common task: tagging a list item with an existing term through a Managed Metadata column, in

SharePoint Term Store with PowerShell and JavaScript Read More »

PowerShell: SharePoint Group Operations

SharePoint Online Management Shell has its own dedicated cmdlet family for site-collection-level group operations. Distinct from the PnP PowerShell cmdlets covered elsewhere on this site for adding users to an existing group. This post covers the SPO Management Shell versions specifically: creating, modifying, and removing groups, plus a couple of real gotchas that don’t show

PowerShell: SharePoint Group Operations Read More »

Extract SharePoint Permission with PowerShell

Worth a direct correction before anything else: a script that connects with Connect-SPOService and then reads $site.RootWeb and $web.RoleAssignments was never going to work, independent of the auth method. Connect-SPOService connects to the SharePoint Online Management Shell’s tenant-admin cmdlets, and Get-SPOSite returns a simple property object with no RootWeb on it, not a live CSOM

Extract SharePoint Permission with PowerShell Read More »

Options on Connecting SharePoint online modules in PowerShell

Worth a direct correction before anything else: username/password authentication to SharePoint Online (the pattern most older connection examples are built around) stopped working entirely as of May 1, 2026, when Microsoft fully retired legacy (IDCRL) authentication with no re-enable option. A second, separate method (app-only authentication via a client secret) also stopped working, since it

Options on Connecting SharePoint online modules in PowerShell Read More »

Unleashing SharePoint List Data Extraction with PowerShell

Extracting SharePoint list data to CSV via PowerShell is genuinely simple for a small list. The part that trips people up is the connection method that’s since been removed, and the list-view threshold that silently breaks the simple version of this script once a list crosses 5,000 items. This post covers the current, working version

Unleashing SharePoint List Data Extraction with PowerShell Read More »

Streamlining SharePoint Add-In Installation with PowerShell

Worth leading with directly, since it changes what this post can actually be about: the classic SharePoint Add-in model (what this post originally covered) is fully retired. Microsoft deprecated it in November 2023 and it stopped functioning in any tenant as of April 2, 2026, with no extension. Any script built around installing a SharePoint

Streamlining SharePoint Add-In Installation with PowerShell Read More »

SharePoint: How to Copy document Recommendations

Copying documents in SharePoint has more than one right answer, which method actually fits depends on how many files, how often, and whether the process needs to run unattended. This post is a quick recommendation guide; for the full depth on PnP PowerShell bulk copying, job-status checking, and Power Automate, see SharePoint Copy Files: Everything

SharePoint: How to Copy document Recommendations Read More »

PowerShell : Hide SharePoint List via PnP / o365 CLI cmdlet

Creating a SharePoint list for an internal business process doesn’t always mean it should be visible to every end user browsing Site Contents. A supporting list a workflow depends on, for instance, can just cause confusion if someone stumbles onto it. Hiding the list is the fix: it still works normally and is still reachable

PowerShell : Hide SharePoint List via PnP / o365 CLI cmdlet Read More »

SharePoint Online: Using PowerShell, enable or disable the “Everyone” group

In this post: What the “Everyone” claims actually are · Why “Everyone” is riskier than it sounds · Showing or hiding the claims with PnP PowerShell · The same settings via SPO Management Shell · This is a visibility setting, not a security control · Auditing where it’s already been granted · Related reading What

SharePoint Online: Using PowerShell, enable or disable the “Everyone” group Read More »