In order to load the images, you must execute the commands below in WIndows 10 Powershell. You have to run Powershell as adminsitrator.


New Version


Execute each command one by one. Before executing these commands, you need access to the administrator credentials of your Office account. You will need them after the first command.



Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser

Install-Module -Name ExchangeOnlineManagement

Import-Module ExchangeOnlineManagement

Connect-ExchangeOnline

Get-Mailbox | Set-MailboxJunkEmailConfiguration -TrustedSendersAndDomains @{Add="cybersercurity.pro", "nospamplus.com", "inbox-guardian.com", "mail-defender.com", "proxysecurefilter.com", "onemailfilter.com", "notificationspace.com", "mailsmtpfilter.com", "gmailgateway.com", "forwardfrom.com", "outlookgateway.com", "smtpemaillist.com", "spamshieldplus.com", "attacksimulator.com"}

Old Version

If the new version does not work, please try the old version of the commands.


Execute each command one by one. Before executing these commands, you need access to the administrator credentials of your Office account. You will need them after the first command.


$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session -DisableNameChecking

Get-Mailbox | Set-MailboxJunkEmailConfiguration -TrustedSendersAndDomains @{Add="cybersercurity.pro", "nospamplus.com", "inbox-guardian.com", "mail-defender.com", "proxysecurefilter.com", "onemailfilter.com", "notificationspace.com", "mailsmtpfilter.com", "gmailgateway.com", "forwardfrom.com", "outlookgateway.com", "smtpemaillist.com", "spamshieldplus.com", "attacksimulator.com"}