Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

script to unexpire user account and expire same day

$
0
0

Hi we have a group of user accounts that remain expired; if needed we would then set the "expires end of" attribute to today's date to enable it temporarily. 

Would like to set up a script that can automate this process for a designated user we specify which is the only variable.

Can anyone help get me started? Thanks!


Viewing all articles
Browse latest Browse all 6937

Trending Articles