Link to home
Start Free TrialLog in
Avatar of ajwellman
ajwellman

asked on

Powershell Get-QADComputer question

I am trying to get a list of computers from Active Directory using the Quest Active Directory cmdlets.  I am using "            
Get-QADComputer -SearchRoot $SearchOU -WarningAction Stop | Select-Object name| Sort-Object name"
The problem is that it is returning the name as '@{name=mypcname}'.  How do I need to change it to return just the name as 'mypcname'?
Thanks in advance.
Art W.
Avatar of Qlemo
Qlemo
Flag of Germany image

Sure that code snippet is generating the hash table result? When I try, I get proper objects with a name property ...
ASKER CERTIFIED SOLUTION
Avatar of SubSun
SubSun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ajwellman
ajwellman

ASKER

Thanks so much.
That worked great.
Art