Script to offboard resigned employee in a hybrid environment

We have an existing decomission script at work but I found this one online and want to add a few items from here.

This script will help in below actions for Exchange online and AD tasks to be removed in a Exchange hybrid environment:

This script will help in below actions for Exchange online and AD tasks to be removed in a Exchange hybrid environment:

  1. Convert exchange online mailbox to shared Mailbox.
  2. Disable the Mailbox protocols – OWA,ActiveSync, POP, IMAP, MAPI & OWA for devices.
  3. Hide the user from GAL.
  4. Remove the user from respective licenses E3,E5,EMS E3 & EMS E5 Licenses.
  5. Cancel all the calendar future meetings.
  6. Remove the user account from all groups.
  7. Set the account expiry of the AD account.
  8. Remove the IP Phone Attribute.
  9. Remove the manager field.
  10. Set out of office.

https://wp.me/p3rxSO-2eO

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.