Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Active Directory Object Properties

$
0
0

Maybe I am completely missing something, but is there no way to create an array of properties from get-aduser? I need to iterate through the user properties to find certain criteria. Even if I do:

$user = get-aduser $username -properties *
$user.count

The count returns 1. Now, I know it is only 1 user object, but is there a way to iterate through each property?

Thanks!

Tony


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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