Flatten a Messy Media Library into A-Z Bucket Folders
A PowerShell script that sorts every show and movie in a folder into flat A-Z buckets, skips anything that would collide, and dry-runs honestly.
File wrangling · Note 1 ↗The script library
PowerShell and automation, with the context behind the code.
Automation with the explanation beside the code.
Purpose Requirements UsageA PowerShell script that sorts every show and movie in a folder into flat A-Z buckets, skips anything that would collide, and dry-runs honestly.
File wrangling · Note 1 ↗Use PowerShell's own parser to catch typos and broken brackets in a whole folder of scripts, before anything runs.
PowerShell craft · Note 2 ↗Find out which resource groups are eating your Azure budget, straight from PowerShell, no portal clicking required.
PowerShell craft · Note 7 ↗One script that locks a departing user out, cleans up their groups and licenses, and keeps their mail, with a CSV record of every step.
The Microsoft Graph toolbox · Note 5 ↗Put a domain group into the local Administrators group on a list of computers (or take one out) over PowerShell remoting, with a result for every machine and -WhatIf first.
Local admin, done right · Note 4 ↗One object per update deployment with targeted, compliant, failed and unknown counts, so you can spot the deployments that need you.
Windows Update, untangled · Note 8 ↗Find the updates the most machines are actually missing, bundle them into a group, and deploy them to a pilot collection, with a WhatIf preview first.
Windows Update, untangled · Note 7 ↗Install a product key, activate it and confirm the edition actually changed, without the key ever landing in a script file or a log.
Packaging with ConfigMgr · Note 5 ↗Turn "wrap this script in a package and push it to the DPs" into one command, with a dry run before anything gets created.
Packaging with ConfigMgr · Note 1 ↗When Graph cmdlets start throwing assembly errors, it's almost always mixed module versions. This removes every copy and puts back one matching set.
The Microsoft Graph toolbox · Note 1 ↗Before you rename, rescope or delete a group, find out what it's wired to. Members, owners, licenses, apps and Intune policies, in one report.
The Microsoft Graph toolbox · Note 4 ↗A computer inventory straight out of AD, with OS build, last logon, password age and OU in one tidy CSV, ready for audits or a stale-machine cleanup.
Keeping Active Directory tidy · Note 4 ↗