PowerShell

Remove All Permissions in a SharePoint Site Collection

Sometimes a SharePoint site collection needs to be locked down to just you: before a migration, before deletion, or because everyone who had a reason to be in there no longer does. This covers both ways to strip every permission except your own: through the admin center by hand, or with PowerShell when you’re doing

Remove All Permissions in a SharePoint Site Collection Read More »

How to Migrate SharePoint Online Content to Another Tenant: All Available Options

Moving SharePoint content between tenants (for a merger, acquisition, or restructuring) has more options than it used to, ranging from a manual drag-and-drop to a native Microsoft-managed pipeline. What you keep (permissions, version history, workflows) varies a lot between them, which is the real deciding factor, not just price. In this post: Native Microsoft 365

How to Migrate SharePoint Online Content to Another Tenant: All Available Options Read More »

How to Export SharePoint Site Users to an Excel Spreadsheet

Worth a direct correction before anything else: neither the classic on-premises COM-automation script nor the “PnP PowerShell” example commonly shown for this actually produces a real Excel file without a caveat. The COM approach genuinely needs Excel installed on the machine running it, and the PnP example usually exports to CSV, not a true `.xlsx`,

How to Export SharePoint Site Users to an Excel Spreadsheet Read More »

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 »