IT-CMDS technician tool
PowerShell Script Library
Copy-friendly PowerShell snippets for help desk, Microsoft 365, Windows Server and Active Directory tasks.
Modernize legacy scripts
Check older AzureAD, MSOnline, Exchange, Teams and AzureRM commands before reusing them.
Open Deprecation TrackerPopular scripts
👤
Find locked AD users
Quickly find locked-out domain accounts.
Search-ADAccount -LockedOut | Select Name,SamAccountName
👥
Group membership
List members of a group.
Get-ADGroupMember "Group Name" | Select Name,SamAccountName
💻
Computer inventory
Export enabled computers.
Get-ADComputer -Filter * -Properties OperatingSystem | Select Name,OperatingSystem | Export-Csv computers.csv -NoTypeInformation
📬
Mailbox permissions
Exchange Online mailbox permissions.
Get-MailboxPermission user@domain.com | ft User,AccessRights
🔐
Password expiry
Check password expiration details.
Get-ADUser jsmith -Properties msDS-UserPasswordExpiryTimeComputed