This repository contains a collection of PowerShell scripts I've written to streamline operations within Microsoft 365, Azure, and Active Directory environments. The scripts are designed to automate common administrative tasks in a cloud operations setting.
- Active Directory Automation: Scripts for mass password resets, proxy address updates, and attribute retrieval.
- Azure AD: License management, UPN retrieval from GUIDs, and mass operations on user attributes.
- Exchange Online: Manage mailbox settings, delegation, retention policies, and calendar permissions.
- PowerShell 7.0+
- AzureAD and ExchangeOnline PowerShell modules installed
- To install:
Install-Module -Name AzureAD Install-Module -Name ExchangeOnlineManagement
- To install:
- Clone this repository:
Run the necessary script based on your operational needs. For example, to reset all AD passwords:
git clone https://github.com/BabaLabs/M365_Azure_PowerShell.git
./AD_ForceAllPWReset.ps1
Feel free to open issues or submit pull requests to improve the scripts or add new features.