Create Transport rule with one Pshell Liner

Task: using pshell, create transport rule to block phishing attack email using some unique words in the subject or body, then redirect the phishing emails to a generic mailbox called canary10
 
 
 
New-TransportRule -Name 'Phishing attack' -Comments 'email account upgrade' -Priority '0' -Enabled $true -SubjectOrBodyContainsWords 'some DGTX virus ','Technical Mail Admin.' -RedirectMessageTo 'user@domain.com'