PowerShell

Switching Between Classic and Modern Views in SharePoint

Worth a direct correction before anything else: `-EnableContentTypes` doesn’t control list experience at all. It toggles whether a list supports multiple content types, an entirely unrelated setting. A script built around it silently changes the wrong thing while doing nothing to actually switch between classic and modern view, with no error to flag the mismatch.

Switching Between Classic and Modern Views in SharePoint Read More »

Get SharePoint Site Users: Implementations and Use Cases

Knowing who actually has access to a SharePoint site (not who you think has access) is the starting point for any real audit, cleanup, or automation built around user roles. This covers the ways to pull that list programmatically: REST via plain JavaScript or jQuery, PnPjs for SPFx solutions, and PowerShell for admin-scale reporting. In

Get SharePoint Site Users: Implementations and Use Cases Read More »

Breaking SharePoint Permission Inheritance: What It Is and Why It Matters

Every site, library, list, and item in SharePoint inherits its permissions from its parent by default. That’s what keeps permission management manageable. Breaking that inheritance lets you set unique permissions at a specific level instead, for the cases where “everyone who can see the parent can see this too” isn’t the right answer. For the

Breaking SharePoint Permission Inheritance: What It Is and Why It Matters Read More »

ChatGPT vs. GitHub Copilot: Comprehensive Comparison

ChatGPT and GitHub Copilot get compared a lot, but they’re not really competing for the same job. ChatGPT is a general conversational assistant; Copilot is built into a code editor and scoped around software development. Worth noting up front: both products change their pricing and feature set often enough that anything below is a snapshot,

ChatGPT vs. GitHub Copilot: Comprehensive Comparison Read More »

How to Add Users to SharePoint Group with PowerShell

Managing permissions and group memberships in SharePoint is critical for effective collaboration and security. Automating the process of adding users to SharePoint groups using PowerShell saves time and reduces manual errors compared to adding people one at a time through the browser. Here’s how to do it step by step, with practical use cases and

How to Add Users to SharePoint Group with PowerShell Read More »

Unlocking the Potential of PnP SPFx: Functionalities, Limitations, Use Cases, and Best Practices

PnP (Patterns and Practices) is the umbrella for several separate tools that speed up SharePoint Framework development, PnPjs for calling SharePoint from code, PnP PowerShell for admin/automation tasks, and a library of reusable React controls for SPFx web parts. This post covers what each actually does, where the real limitations are, and two places the

Unlocking the Potential of PnP SPFx: Functionalities, Limitations, Use Cases, and Best Practices Read More »

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 »