Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, October 7, 2016 7:55 PM
Need to download Get-QADUser cmdlet, Is this something free available if yes from where? We had a script running with this cmdlet but we recently noticed it is failing and later we found that someone how this cmdlet is been removed.
Nikhil Gupta
All replies (7)
Friday, October 7, 2016 8:30 PM ✅Answered
Yes, I believe so. I never really used the Quest tools, so I can't tell you exactly what is different.
Syntax for the AD module can be found on TechNet or here:
Friday, October 7, 2016 8:00 PM
Don't use the old Quest tools, just use the AD module.
If you really need them for some unknown reason, you can find them on Dell's website.
Friday, October 7, 2016 8:17 PM
Shall use below AD Module instead of quest
Get-QADUser = Get-ADUser
Disable-QADUser = Disable-ADAccount
Set-QADUser = Set-ADUser
Move-QADObject = Move-ADObject
Do they behave in a similar manner ?
Nikhil Gupta
Friday, October 7, 2016 8:45 PM
Script is to
Generate a Report of Inactive User, Move them to a diff OU and then Disable it. I have updated the AD module in this script, seems like the parameter that was used before does not match with AD Module
Error "Get-ADUser : A parameter cannot be found that matches parameter name 'SearchRoot'."
Commands are
Set-ADUser $_ -Description $Description
Move-ADObject $_ -NewParentContainer $DestinationOU
$inactiveUsers = Get-ADUser -SizeLimit 0 -SearchRoot $sourceOu -NotLoggedOnFor $InactiveFor -Enabled | Where-Object {$_.description -notlike $DescriptionPrefix}
If you can help me out to replace these Parameters according to AD module.
Nikhil Gupta
Friday, October 7, 2016 8:50 PM
You have to use help to learn how to use the CmdLet.
Help Get-AdUser -full.
We cannot teach you how to convert third party code.
For help with Quest CmdLets post in the Dell forums.
\(ツ)_/
Friday, October 7, 2016 9:02 PM
And you can find some scripts for your purpose at Technet Script Repository
Saturday, October 8, 2016 7:09 AM
https://support.software.dell.com/download-install-detail/5024645 Be sure to add the snap-in line at the top of the script you're running.