Powershell – How to connect to Exchange Online on a MFA protected tenant.

With the introduction of the security baselines from Microsoft it is necessary for you to use Modern Authentication in your PowerShell scripts/if you want to connect to Exchange Online. Connecting to Exchange Online is a pretty easy process and you can do so by following the steps below: Open Powershell and install the Exchange Online

Powershell – How to check for services that are set to ‘Automatic’ start up type and ‘Stopped’

Powershell is a really powerful tool and can be used to automate tasks during troubleshooting. One of the issues that I have seen in the past is that services will not start automatically after an update. Depending on the amount of services on a machine it can be a time consuming process to check for