Powershell

Here you can find some scripts

Quest
http://wiki.powergui.org/index.php/QAD_cmdlets_reference

Remove Profile Path
get-QADUser -SearchRoot ‘/test’ | Set-QADUser -Profilepath R0;”

Remove Home Directory
get-QADUser -SearchRoot ‘/test’ | Set-QADUser -HomeDirectory R0;”

Remove Logon
get-QADUser -SearchRoot ‘/test’ | Set-QADUser -Logonscript R0;”

Cmdlets in Windows
http://technet..com/en-us/library/ee617195.aspx

Remove Profile Path
Get-ADUser -Filter * -SearchBase R0;OU=test,dc=wardvissers,dc=nl” | Set-ADUser -Clear scriptPath

Remove Home Directory
Get-ADUser -Filter * -SearchBase R0;OU=test,dc=wardvissers,dc=nl” | Set-ADUser -Clear homedirectory

Remove Logon
Get-ADUser -Filter * -SearchBase R0;OU=test,dc=wardvissers,dc=nl” | Set-ADUser -Clear profilepath

Translate »
%d bloggers like this: