I'm fairly new to powershell and trying to simplify some routine task to a few powershell scripts.
Background: on-prem AD to Office 365 sync
Question: If a user leaves a company, can I create a scripts to do following:
1)Reset user password
2)Remove user from all groups
3)Block user sign in
4)Convert mailbox to a shared mailbox and give delegated access to another user.
I'm new to this forum and not expecting anyone to help me, but if someone can please point me in the right direction, that'll be appreciated.
Thank you in advance.