Thursday, January 13, 2011

ERROR: The term 'Get-QADUser' is not recognized as the name of a cmdlet, function, scr ipt file, or operable program.

Scenario:

You have installed Powershell + Quest ActiveRoles Management for AD. When you try to run a command that uses Quest cmdlet you get the below error:

The term 'Get-QADUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Resolution:

Run the command: Add-PSSnapin Quest.ActiveRoles.ADManagement

You may receive the warning below which you can ignore.

Add-PSSnapin : Windows PowerShell snap-in "Quest.ActiveRoles.ADManagement" is l
oaded with the following warnings: The following error occurred while loading.....


Re-run your initial command.

No comments: