-
Hi Sorry for the confusion. My question is: I need help writing a script that uses the Quest cmdlets that find all accounts with the ad attribute of "AccountExpires" and it reads the specific date/time set on the account, if the date/time matches "now" when the script is running,...
Posted to
PowerShell for Active Directory
(Forum)
by
virtuallynothere
on
12-17-2012
Filed under: Active Directory, AD, ad account expiration, AD Disable Update Description, Get-QADUser, IncludeAllProperties, Get-QADObject, foreach, AD Auditing using PowerShell, Active Directory Management
-
Hello, Thank you for the reply. I need to: 1. Get-Date - it can be the exact time 2. Query an OU & All Sub-OUs for accounts that have a date/time set in the attribute that is either "now - the time the script is running" and any date/time prior to the time the script is running. This would...
Posted to
PowerShell for Active Directory
(Forum)
by
virtuallynothere
on
12-12-2012
Filed under: Active Directory, AD, Quest, ad account expiration, AD Disable Update Description, Get-QADUser, IncludeAllProperties, foreach, power shell, User, Active Directory Management
-
Hi Folks: I am trying to find a way to query AD for user accounts that are set to expire, but that's the easy part. I need to run a scheduled task that ties into a Quest system we use that does a whole "disabling" process on user accounts. The task will be this script I'm trying to...
Posted to
PowerShell for Active Directory
(Forum)
by
virtuallynothere
on
12-07-2012
Filed under: AD, Quest, powershell, ad account expiration, AD Disable Update Description, Get-QADUser, IncludeAllProperties, foreach, AD Auditing using PowerShell, power shell, User, Active Directory Management
-
Ive been endlessly searching for a script to change the expiration date of multiple users in a particular organizational unit. I havent had much luck, can anyone help?