|
Post by rayancaleb on Jan 5, 2018 1:32:30 GMT -5
Hello, I am trying to get a script that I can run as a scheduled task and have the script find any account that is set to expire in a specific time frame. I'm using Quest ActiveRoles server and I can set a "virtual attribute" so that helpdesk staff can enter a date/times for the account to expire. Then this script would be setup as a scheduled task and when it runs I need it to find any accounts that expire "at the time the script runs and any that expired prior to the script running". If I run this every couple of hours then that will satisfy the auditors we are doing this for. Expiring the accounts doesn't close off all access, so this script will trigger a deprovision action that does that process which is already setup for each account that is returned in the query. Please Help. Thanks ! I didn't find the right solution from the internet. References: powershell.org/forums/topic/script-to-find-expired-accounts-but-near-real-time/Promotional Advertising Campaign Examples
|
|