A collection of PowerShell and Power Query scripts built to automate enterprise IT operations across identity management, endpoint compliance, virtualization, licensing, and onboarding. These are sanitized, generalized versions of tools originally developed to support enterprise infrastructure across a multi-site, multi-business-unit environment.
| Script | Purpose |
|---|---|
AD-InactiveAccountReport.ps1 |
Flags inactive Active Directory accounts for security review and cleanup |
SharePoint-BulkPermissionAudit.ps1 |
Audits SharePoint Online site permissions, flags external/broad access |
Intune-DeviceComplianceReport.ps1 |
Pulls device compliance status via Microsoft Graph |
AssetLifecycle_PowerQuery.pq |
Tracks IT asset age and lifecycle stage in Excel via Power Query |
AssetForecast-Export.ps1 |
Forecasts upcoming hardware refresh needs and estimated cost by year |
VMware-VMHealthCheck.ps1 |
Flags aging/orphaned VMware snapshots and VM resource issues |
M365-LicenseUsageReport.ps1 |
Identifies unused or underutilized Microsoft 365 licenses |
NewHire-ProvisioningAutomation.ps1 |
Automates new-hire AD account creation and group provisioning |
WindowsUpdate-ComplianceReport.ps1 |
Reports patch compliance across domain-joined machines |
Get-EndpointDiagnosticSnapshot.ps1 |
Collects a quick triage snapshot from a Windows endpoint |
Each script has its own README in the docs/ folder with usage details,
parameters, and requirements.
These scripts reflect the kind of automation work I do day to day as an IT Infrastructure/Service Delivery Analyst supporting enterprise environments, reducing manual administrative work, improving visibility into asset lifecycle and compliance posture, and supporting audit, security, and onboarding processes.
- PowerShell 5.1+ (PowerShell 7+ recommended for Graph-based scripts)
- ActiveDirectory module (RSAT) for AD scripts
- SharePoint Online Management Shell module
- Microsoft.Graph modules (Users, DeviceManagement) for Graph-based scripts
- VMware PowerCLI for the VM health check script
- Microsoft Excel with Power Query for the asset lifecycle workbook
Each script includes parameter documentation via comment-based help. Run
Get-Help .\ScriptName.ps1 -Full for details before running against a live
environment. All scripts are written generically and should be reviewed and
adjusted for your specific environment before use.
These are sanitized, generalized examples adapted from production automation work. No organization-specific data, credentials, or identifiers are included.