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 “”

Remove Home Directory
get-QADUser -SearchRoot ‘wardvissers.nl/test' | Set-QADUser -HomeDirectory “”

Remove Logon
get-QADUser -SearchRoot ‘wardvissers.nl/test' | Set-QADUser -Logonscript “”

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

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

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

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

Translate »
%d bloggers like this: