Troy’s Powershell Cheat Sheet
Connect-MsolService Install-Module -Name ExchangeOnlineManagement Connect-ExchangeOnline exit Get-MsolUser -All | Select-Object @{N=’UserPrincipalName’;E={$_.UserPrincipalName}}, @{N=’MFA Status’;E={if ($_.StrongAuthenticationRequirements.State){$_.StrongAuthenticationRequirements.State} else {“Disabled”}}}, @{N=’MFA Methods’;E={$_.StrongAuthenticationMethods.methodtype}} | Export-Csv -Path c:\MFA_Report.csv -NoTypeInformation Set-OrganizationConfig -AutoExpandingArchive…