Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Get-Member questions

$
0
0

Get-Member seems not to list all the property/method of an object.

For eg -

$a = Get-ADuser -filter *  -searchbase "ou=test,dc=adc,dc=com" , Now variable $a has all the user account stored in Test OU.

Now If I do $a | GM -force -viewall , I am able to see only few of the property,

Where are the rest of the property ?  Like , HomeDirectory , Profile Etc?

I know , there is something which I am not aware of :)

Please clarify this

Thanks,

_Prashant_


MCSA|MCITP SA|Microsoft Exchange 2003 Blog - http://prashant1987.wordpress.com Disclaimer: This posting is provided AS-IS with no warranties/guarantees and confers no rights.


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>