Connect to Office 365 Exchange via PowerShell

https://www.microsoft.com/en-us/download/details.aspx?id=41950

Set-ExecutionPolicy RemoteSigned
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Remove-PSSession $Session

PowerShell rules commands

https://www.codetwo.com/admins-blog/managing-outlook-rules-powershell/

https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/remove-inboxrule?view=exchange-ps

:!: To get the entire RuleIdentity you may need to widen the PowerShell window. Properties, Layout, window size, width.

Get-InboxRule -Mailbox <mailbox_name>
Get-InboxRule –Mailbox <mailbox_user> | Select Name, Description | FL
Get-InboxRule -Identity <RuleIdentity> -Mailbox <mailbox_user> | FL
Remove-InboxRule -Identity <rule_name> -Mailbox <mailbox_name>
Get-InboxRule -Mailbox <mailbox_name> | Remove-InboxRule