In outlook I managed to create a rule for my inbox. I can resolve it with:
$OL=New-Object -ComObject OUTLOOK.APPLICATION $ns =$OL.GETNAMESPACE("MAPI") $ol.session.DefaultStore.GetRules().item("someemail@google.com")
I cant figure out how to run this. Probably something like:
$ol.session.DefaultStore.GetRules().item("someemail@google.com").execute(?????)
But I have no clue what to put in there.
submitted by /u/Droopyb1966
[link] [comments]
The post Outlook rule starten appeared first on How to Code .NET.