Forum Discussion
Steven8767
Apr 24, 2020Copper Contributor
AD to Office 365 Powershell Commands
Hi,
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.
1 Reply
Sort By
Have you tried doing a search online? I've seen quite few articles that go over the process, even provided scripts that address some of those tasks myself. Don't be lazy 🙂