I need to run a PowerShell on accounts that are 90 days or older.
Would that be "if the 'When Created' is greater then or queal to '%datetime,-90d%'" or "if the 'When Created' is less then or queal to '%datetime,-90d%'"
Hello,
As the condition should be met for users that were created more than 90 days ago, it should be if the 'When Created' property is less then or equal to '%datetime,-90d%.
Is there a way to have a Scheduled Task with 4 different condition? I want to create a scheduled task start every Monday and the condition see: The next Saturday of the week ... of the week is the fifth of the month then no action Thanks in advance, Simone
Is there a report, or a way to make a custom report, to show when a custom command was run and who it was run against? The Operation in the log is "Execute Deprovision User Account"
We have business rules active for creating (Office365)accounts. When a new account is created and activated for Office365 the mailbox is not available straight away ... how others are handeling the creation for Office365 accounts without on-premise Exchange.
I have a feild called Decommissioned Date and I can not figure out how to run a scheduled task the day after that date. So If an account got decommissioned today I want the task to run tomorrow.
Receive "Index operation failed; the array index evaluated to null. Stack trace: at <ScriptBlock>, <No file>: line 104>" and "Index operation failed; the ... $GroupName, $GroupDN." } } #foreach write-output "" Write-Output "" Stop-Transcript