3 thoughts to “Powershell Script to Disable User Account in AD and hide the mailbox from the Global Address List…”

  1. Can you show how to add error-checking, should user type invalid sam account.

    Currently it runs thru the script

    thanks allot

  2. Is it possible to automate this with multiple? because i need to clean up the active directory, so i have to disable over 360 accounts.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.