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.
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.
Sure that code snippet is generating the hash table result? When I try, I get proper objects with a name property ...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks so much.
That worked great.
Art
That worked great.
Art