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

    PowerShell Execution Policy & Profile Impact

    After writing about prompt customizations, I realized that I likely need to address a common issue that pops up when users are first configuring their PowerShell (PS) environment. If you have not read that post yet, I would start there before continuing with this one. As we discussed in that...
  2. Andy

    PowerShell Customizing PowerShell Prompt & Profile Tips

    I have a thing about command line prompts. I like tweaking and customizing. The prompt is such a simple thing, but impacts experience dramatically. Once I learned about prompt customization, I found a general format that works for me and can be replicated across multiple environments and...
  3. 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 }