Link to home
Start Free TrialLog in
Avatar of MilesLogan
MilesLoganFlag for United States of America

asked on

Delete multiple accounts from AD wiht Powershell

Hi EE

Does anyone have a script they can share that will delete AD accounts that I have on a text file ?
I want to enter the SamAccountname to the text file and the script delete those AD accounts .

Thank you !
ASKER CERTIFIED SOLUTION
Avatar of Jason Crawford
Jason Crawford
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MilesLogan

ASKER

I was close lol !

I was missing this ... -Confirm:$false

thank you
Glad I could help.  Take care
User generated image