Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Query AD w/ Powershell for expiring passwords

$
0
0

I know it's been beaten to death but for some reason I can't find one that fits what I need.

All I want is a powershell script to query a specific OU for user accounts with passwords that will expire in X days. 

I don't need to email them, just pipe it to either the screen or a file.

I get so close using all the examples out there but something is missing.

Any help?


Viewing all articles
Browse latest Browse all 15370

Trending Articles



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