Re: Need script to delete list of AD accounts
Yes. I have a separate script to delete home directories but if you know of
a solution that does both I'm all ears.
Thanks.
"Al Dunbar" <AlanDrub@hotmail.com.nospaam> wrote in message
news:%23Ia3%23fECIHA.4836@TK2MSFTNGP06.phx.gbl...
> Would you be at all concerned about any home folders that these accounts
> might have had, like, should they be deleted as well?
>
> /Al
>
> "D.P. Roberts" <DProberts@pbride.com> wrote in message
> news:ua9XoN2BIHA.4176@TK2MSFTNGP06.phx.gbl...
>> That is exactly what I was looking for - thanks!
>>
>> "Pegasus (MVP)" <I.can@fly.com> wrote in message
>> news:eY8wEcyBIHA.4880@TK2MSFTNGP03.phx.gbl...
>>>
>>> "D.P. Roberts" <DProberts@pbride.com> wrote in message
>>> news:e49Y1UtBIHA.2004@TK2MSFTNGP06.phx.gbl...
>>>>I have a text file of several hundred usernames that need to be deleted
>>>>from Active Directory. These users are scattered among several OUs, but
>>>>they are all located in the same domain. Is there a way in vbs I can
>>>>delete these accounts? If not, are there any 3rd party applications that
>>>>can do this?
>>>>
>>>> Thanks!
>>>>
>>>
>>> Would the command
>>>
>>> net user DRoberts /domain /delete
>>>
>>> do it for you?
>>>
>>
>>
>
>
|