10 lines
204 B
PowerShell
10 lines
204 B
PowerShell
|
$LogonEmail = Read-Host "Enter Logon Email"
|
||
|
|
||
|
Connect-ExchangeOnline -UserPrincipalName $LogonEmail
|
||
|
|
||
|
Disable-TransportRule -Identity "*DMARC*"
|
||
|
|
||
|
Get-TransportRule
|
||
|
|
||
|
Disconnect-ExchangeOnline -Confirm:$false
|