Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

AD Module – Sort by Month of Date

$
0
0

Hello,

I’m wanting to run a PS script that will give me a list of user accounts created within a specified month using the get-aduser –property WhenCreated attribute.

I was hoping such command as get-aduser –filter * | select WhenCreated | sort-order or some commandlet that I can pipe into

that will display only those users with a create date within a specified month.

Any suggestions?

Many thanks



Viewing all articles
Browse latest Browse all 21975

Trending Articles



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