Andy Grogan
Andy Grogan

COMMENTS

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

    Author’s gravatar

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

    Currently it runs thru the script

    thanks allot

    Author’s gravatar

    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.

    Author’s gravatar

    Hi,

    is it possible to get the data from a list (UserToDisable.txt) ?
    Tank you Very Much

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.

Do NOT follow this link or you will be banned from the site!
%d bloggers like this: