![]() ![]() When I run the script I receive no error message and the log file is generated with no data populated. I've compiled some things together that seem like they should work, but do not. Then create a report listing disabled users and email to our global helpdesk. When it disables it will also change the descripton to the date it was disabled on. The script would read the lastlogondate of an AD security group called “Temp Associates”, disable the accounts with lastlogondate > or = 29 days from current date and move to Disabled OU. A colleague has reached out to me to create a PowerShell script to do the following:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |