A collection of useful PowerShell scripts for Windows and Microsoft 365 administration.
| Script | Description |
|---|---|
| Update-SensitivityLabel | Bulk migrate Microsoft 365 sensitivity labels across SharePoint Online and OneDrive. Scans the entire tenant for files with a specific label and replaces it with a new one. |
| Remove-Dell-Bloatware | Comprehensive Dell bloatware removal script. Removes SupportAssist, Dell Optimizer, and other pre-installed Dell software. Battle-tested on 1000+ machines. |
| Limit-PowerPointVersions | Limits version history for PowerPoint files across all SharePoint sites. Helps free up storage by trimming excessive version history while keeping recent versions. Status: Untested |
| Project | Description |
|---|---|
| FileLabeler | PowerShell GUI application for bulk applying sensitivity labels to local files. Features drag-and-drop, date preservation, and comprehensive reporting. |
Each script folder contains its own README with detailed documentation, requirements, and examples.
Most of the code in this repository was written with AI assistance (GitHub Copilot, Claude, etc.). All scripts have been tested and validated in production environments, but please review and test in your own environment before deploying.
Feel free to submit issues or pull requests if you have improvements or new scripts to add.
MIT License - feel free to use and modify these scripts as needed.