PowerShell

How to Avoid List Throttling in SharePoint

Worth a direct correction before anything else: the “indexed column” PowerShell example that circulates for this topic (`Set-PnPListItem` with a value) doesn’t create an index at all — it just sets a field’s value on one item, something entirely different. This post covers the real mechanism for indexing a column, the real cap that mechanism […]

How to Avoid List Throttling in SharePoint Read More »

Regular Expressions (Regex) : Quick Guide

Regex looks intimidating until you’ve internalized maybe a dozen symbols — after that it’s just the fastest way to validate, search, or extract text by pattern instead of writing a string-parsing function by hand. This is a working reference: the symbols that come up constantly, three real examples in different languages, and when it’s actually

Regular Expressions (Regex) : Quick Guide Read More »

All about SharePoint Permission Roles

SharePoint ships with ten built-in permission levels — Full Control down to Restricted Read — covering most access-control scenarios without needing a custom permission level. Here’s what each one actually grants, and how to assign them via PowerShell in both SharePoint Online and on-premises. In this post: The ten built-in permission levels · Assigning a

All about SharePoint Permission Roles Read More »

SharePoint ‘Save Site as Template’ Challenges

“Save Site as Template” used to be the easy answer to “how do I spin up another site that looks like this one” — export the structure, lists, and content types to a .wsp file, apply it to a new site, done. It’s still there in SharePoint On-Premises. In SharePoint Online, it’s effectively gone for

SharePoint ‘Save Site as Template’ Challenges Read More »

Methods on how to Add Attachments to SharePoint List

SharePoint doesn’t have one “add attachment” button that works everywhere — which method you reach for depends on whether you’re writing client-side JavaScript, building an SPFx web part, or automating something from a script. The three approaches below all do the same thing: attach a file to a specific list item. The difference is what

Methods on how to Add Attachments to SharePoint List Read More »

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

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

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

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

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

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