PowerShell

SharePoint Copy Files: Everything You Need to Know

SharePoint’s built-in Copy Files feature moves or duplicates files between libraries (same site or across sites) without needing a third-party tool. It’s the right call for routine content distribution; whether it’s the right call for a bulk migration is a different question, covered below alongside the automated alternatives. In this post: What affects copy time

SharePoint Copy Files: Everything You Need to Know Read More »

SharePoint Audit Trail: What You Need to Know

SharePoint’s audit trail tracks who accessed, changed, shared, or deleted content, and when. It’s what you actually pull up when someone asks “who touched this file” or an audit needs a record of access history. In this post: Four ways to get at it · Which -Operations value to actually use · Pulling more than

SharePoint Audit Trail: What You Need to Know Read More »

Exporting Inactive Users in SharePoint: What You Need to Know

Exporting a list of inactive users is mostly a housekeeping task. Unused accounts are a security and licensing cost, and this is how you actually find them instead of guessing. In this post: Via PowerShell · Via the admin center (no scripting) · Third-party tools · LastSignInDateTime is lying to you, a little · Actually

Exporting Inactive Users in SharePoint: What You Need to Know Read More »

Extracting SharePoint File Version History Using PowerShell

SharePoint keeps every prior version of a file, but the built-in UI only shows you version history one file at a time. If you need it for an audit, a bulk export, or to check who changed what across a whole library, you’re pulling it with a script instead of clicking through the interface. Three

Extracting SharePoint File Version History Using PowerShell Read More »

SharePoint Attachments Operations with PnP.js in React

List attachments keep a file tied directly to a specific item (a screenshot on a bug, a resume on a candidate record) without setting up a separate document library. This covers uploading, reading, and deleting them with PnP.js inside a React-based SPFx component, plus batching when you’re handling more than one file at a time.

SharePoint Attachments Operations with PnP.js in React Read More »

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 runs

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 the

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 role in

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 modern

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 kind

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