Welcome to the Workspace Technology repository! This project serves as a central hub for scripts, configuration templates, reports, and documentation related to Microsoft 365 (M365), Azure, and Intune.
The workspace is split into two primary environments: ☁️ Cloud Scripts and 🏢 On-Premises Scripts, alongside supporting governance, reporting, and templating directories.
The repository is organized into distinct, specialized directories to ensure high maintainability, cleanliness, and ease of access:
Cloud_Scripts/- Cloud-native configuration and management tools.Azure/- Cloud resources monitoring (e.g., Azure Monitor Alerts common schema).Exchange_Management/- Exchange Online security configurations, auditing, and mail-flow hardening.Intune/- Cloud Intune configuration backups, Graph connections, and Win32 application packaging source trees.M365_Assessment/- Comprehensive tools and scripts for assessing Microsoft 365 tenants (licensing, SPO, Teams, and overall security).Migration/- BitTitan MigrationWiz statistics and migration error reporting tools.SharePoint/- Bulk site provisioning and Teams creation automation.Utilities/- Multi-service O365 connection establishing helper.
OnPremises_Scripts/- Client-side, Active Directory Domain Services, and on-premises infrastructure scripts.Exchange_Management/- Hybrid Exchange synchronization enabling helper and Exchange 2019 / SE assessment/health checks.Intune/- Client endpoint configuration scripts (drive maps, printer maps, HAADJ renames, and client security settings).M365_Assessment/- On-premises virtualization auditing (Citrix desktop inventory).Utilities/- Client networking configurations (system-wide proxy setup) and local M365 desktop app cache clearers.
Governance_and_Policies/- Organizational frameworks, data management policies, training details, and best practices.Reports/- Generated tenant status spreadsheets, Teams rosters, audit logs, and mailbox size lists.Templates/- Design baselines (e.g., Entra ID Conditional Access JSON files) and CSV templates.
All scripts in the workspace (including those in Cloud_Scripts/, OnPremises_Scripts/, and the nested O365scripts/ repository) are standardized under a unified coding structure.
For the complete, searchable script catalog and the recommended execution roadmap, refer to the SCRIPT_INDEX.md.
Scripts are named with a standardized prefix and a unique three-digit ID:
EXO-NNN– Exchange Online / Security Hardening / ATPSPO-NNN– SharePoint Online & Migration AssessmentsTEA-NNN– Microsoft TeamsM365-NNN– Cross-Service M365 Assessments & Microsoft Graph ReportsINT-NNN– Intune Configurations, Autopilot & Endpoint ManagerUTL-NNN– Module Connectors, Caches, and General UtilitiesOPR-NNN– On-Premises & Infrastructure Assessments (Citrix / Exchange)MIG-NNN– Migration Wiz / Statistics helpers
- English Help Headers: Standardized using standard PowerShell comment help parameters (
.SYNOPSIS,.DESCRIPTION,.NOTES,.PARAMETER,.EXAMPLE). - 79-Character Region Wrappers: Visual code blocks are delimited by 79-character box-drawn
#regiontags (e.g.#region ── Parameters ──and#region ── Main Program ──) to maximize IDE navigation efficiency. - Automated AST Validation: Every script is compiled against the system AST Parser (
[System.Management.Automation.Language.Parser]::ParseFile) to ensure there are zero syntax or token errors.
Most of the tools here are PowerShell scripts (.ps1). To execute them:
- Open PowerShell 7+ or Windows PowerShell (run as Administrator if installing modules).
- Configure execution policy:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process. - To automatically connect to all necessary M365 modules, use the multi-service utility helper:
./Cloud_Scripts/Utilities/ConnectO365Services.ps1
Ensure that you do not commit active credentials, tenant secrets, or sensitive customer information back to version control. Always utilize temporary sessions or certificate-based authentication as outlined in the connection utilities.