PowerShell

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 »

SPFx: Check if User is an Admin or an Owner is SharePoint

Introduction When working with SharePoint Framework (SPFx), there are times when you need to determine whether a user has administrative privileges. This is especially useful in scenarios where certain UI elements or functionalities should only be accessible to administrators. In this blog, we’ll explore how to check if a user is an admin using the

SPFx: Check if User is an Admin or an Owner is SharePoint Read More »

How to Export SharePoint Site Users to an Excel Spreadsheet

When managing a SharePoint On-Premises environment, there are scenarios where you need to export site users into an Excel spreadsheet. Whether it’s for auditing, troubleshooting, or monitoring purposes, exporting users can help administrators ensure their sites are secure and compliant. In this blog, we’ll discuss how to achieve this using PowerShell scripts with SharePoint Add-Ins

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

Switching Between Classic and Modern Views in SharePoint

SharePoint is a versatile platform that has evolved significantly over the years. With the introduction of the modern experience, users benefit from a responsive design, enhanced user interface, and seamless integration with Office 365 features. However, there are times when you may need to switch between the classic and modern views due to compatibility, user

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 »