• Welcome to ITBible, we're your #1 resource for enterprise or homelab IT problems (or just a place to show off your stuff).
  1. WizardTux

    PowerShell Microsoft365 - Check users without litigation hold being enabled.

    This is a pretty simple one, but it gives you a list of users where litigation hold is not enbaled. Connect-ExchangeOnline -UserPrincipalName <global-admin-account> Get-Mailbox | Where-Object { $_.LitigationHoldEnabled -eq $false }