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

dsquery to vbs script

$
0
0

Hello All,

I currently have a dsquery that I need ran everyday to make sure users in a specific OU never have the "password never expires" option checked. The dsquery looks like this, "dsquery user OU=RB,OU=CE,OU=_clients_cp,DC=Costco,DC=NET | dsmod user -pwdneverexpires no" Any input would be greatly apprciated. I need this because the users in the specific OU have a fine grained PW policy different from the others. 


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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