tutatags.blogg.se

Powershell set account expiration date
Powershell set account expiration date









powershell set account expiration date

  • $exchangeWebServiceDllPath - Specifies the full path to the Microsoft Exchange Web Services dll module.
  • Include any of the managed AD domains into the Activity Scope of the task. To use the script in your environment, create a scheduled task configured for the Domain-DNS object type. The meetings must be appointed for the mailbox specified in the Run As section of the Run a program or PowerShell script action used to run the script.

    powershell set account expiration date

    To be able to use the script, download and install Microsoft Exchange Web Services Managed API on the computer where Adaxes service runs.

    powershell set account expiration date

    If an error occurs, the script sends an email to the meeting appointer with error details. The desired expiration date must be the start date of the meeting. The account you want to set expiration date for must be specified in the meeting subject. To use the script, you need to appoint meetings for a certain mailbox. The script sets user account expiration date via meetings in Exchange.











    Powershell set account expiration date