Quantcast
Channel: Spiceworks Community
Viewing all articles
Browse latest Browse all 6732

how can i create a powershell script to archive disabled users in AD

$
0
0

Hi Guys/Girls 

I`m extremely new to powershell, i want to create a script which will allow me to archive all inactive or disabled users within AD. 

So instead of manually moving the users to a disabled folder, is their anyway a script could be created so it could run, disable and move inactive users who say have not logged on in the last 90days or so?

I appreciate any advise, links or knowledge. 

Thanks in advance. 

Regards

P Bal 


Viewing all articles
Browse latest Browse all 6732

Trending Articles



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