search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Windows Powershell, Windows Server | 4 Comments | 4,351 views | 22/08/2009 10:28

Are you kidding? How can I use “Remove-ADUser” to delete an user from Active Directory if there is no “-force” switch? Simply, it is for blocking automation scripts. We have so many IIS users in Active Directory. What should we do? Should we hire a new guy to manage users? I quit to use Powershell v2 AD modules for a while.

Update: You can assign $false to confirm parameter:

Remove-ADUser "User1" -Confirm:$False

Thanks to Shay Levi.