SAM2009
asked on
How to get only value in extensionAttribute10 of AD from PowerShell
How to get only value in extensionAttribute10 of AD from PowerShell?
I try this:
Get-ADUser SamAccount -Properties extensionAttribute10 | Select-Object extensionAttribute10
But get this:
extensionAttribute10
-------------------------- ---------- ---------
XYZ123
I just want the value not the title included.
How can I just get the value: XYZ123?
I try this:
Get-ADUser SamAccount -Properties extensionAttribute10 | Select-Object extensionAttribute10
But get this:
extensionAttribute10
--------------------------
XYZ123
I just want the value not the title included.
How can I just get the value: XYZ123?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER