Using Powershell to Whitelist Your Emails in M365
Another way you can add domains to a Whitelist in M365 is by using a script known as “PowerShell”. To do this, follow these steps: 1. Make use of this specific script: Param( $ruleName, $domainListFilePath ) #Read the contents of the text file into an array $safeDomainList = Get-Content $domainListFilePath #Create a new array ...


