A PowerShell automation script that handles the full lifecycle of Google Workspace user offboarding using GAM.
Date Category 2025-12-08 Google Workspace / Automation Offboarding users in Google Workspace can be a tedious, multi-step process. You have to create a Vault export, wait for it to process (which can take hours), download the massive files, and then re-upload them to a central storage location. Doing this manually for every employee departure is a tedious mess.
...
A quick reference for Azure Powershell Commands I use often
Date Category 2025-12-05 Azure / PowerShell Table of Contents Getting Started Installation Authentication Subscription Management Resource Management Command Reference Entra ID (Formerly Azure AD) Active Directory & Entra Sync Role Assignments (RBAC) Key Vault & Secrets Compute (Virtual Machines) Networking Storage Azure Policy & Governance Monitoring Azure Migrate Installation Prerequisite: You need PowerShell 7+ (recommended) or Windows PowerShell 5.1.
Windows # Option 1: Install from PSGallery (Admin Required) Install-Module -Name Az -Repository PSGallery -Force # Option 2: MSI Installer # Download: https://github.com/Azure/azure-powershell/releases macOS # 1. Install PowerShell via Homebrew brew install --cask powershell # 2. Enter PowerShell pwsh # 3. Install Az Module Install-Module -Name Az -Repository PSGallery -Force Linux # Ubuntu / Debian # 1. Update the list of packages and install wget sudo apt-get update sudo apt-get install -y wget apt-transport-https software-properties-common # 2. Download the Microsoft repository GPG keys and register repository wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb" sudo dpkg -i packages-microsoft-prod.deb # 3. Update & Install sudo apt-get update sudo apt-get install -y powershell # 4. Enter PowerShell & Install Module pwsh Install-Module -Name Az -Force Authentication 1. Log In # Interactive Login (Browser) Connect-AzAccount # Device Code Login (for servers/headless) Connect-AzAccount -UseDeviceAuthentication # Service Principal Login (Automation) $cred = Get-Credential Connect-AzAccount -ServicePrincipal -Credential $cred -Tenant "<TENANT_ID>" 2. Cloud Shell Alternatively, use the browser-based shell in the Azure Portal.
...
Configuring certificate-based authentication for automated SharePoint operations using Microsoft Entra ID App-Only access.