6/18/2023 0 Comments Retract outlook 365 emailIf you need to Release any one email from shell then run the below command This is required to get more than 1000 results. I have also added PageSize which is 1000 by default and can go up to 5000 maximum. Get-QuarantineMessage -Type “TransportRule” -PageSize 5000 | Release-QuarantineMessage –ReleaseToAll Get-QuarantineMessage -Type “Spam” -PageSize 5000 | Release-QuarantineMessage –ReleaseToAll So if we decide to just release spam or transportrule then run the below commands. The above command will release all messages which may be spam or transport rule. Get-QuarantineMessage | Release-QuarantineMessage –ReleaseToAll If you need to release the all quarantined emails from shell then run the below command Get-QuarantineMessage –Senderaddress “senderemailid” | fl ![]() To see the properties of one quarantined email run the below command: To get the quarantined emails from shell run the command ![]() Once you click on it you will see the window as shown below:Īdd the following command switch at the end of the command to see what this command will do. If you have many quarantine messages then you can also do a search using this icon.
0 Comments
Leave a Reply. |