Trying to block zip files with O365 seems a little painful, as the default GUI does not really give you the option (anymore?) If you Google, you might find screenshots with options to select the attachment but when I checked our GUI, that was all that I saw:

Clearly, there is no option to look for attachments, other than what the attachments CONTAIN.

So, trying PowerShell, something interesting happened.

Executing this PowerShell command, it created a new rule, that now had more/different options than the rule you could create from the GUI!

Look at this:

And now you can block file extensions and stuff to your heart’s content.

Oddities ¯\_(ツ)_/¯

We had a $user who deleted ALL emails from a shared mailbox and you might notice that the option to recover deleted items is grayed out and you cannot select it.

We need to set a registry key to turn that option on.

Create a new DWORD value with the name ‘DumpsterAlwaysOn’ and a value of 1.

Easy via PowerShell:

You have to close Outlook and start it again and voila, you can restore items.

 

Want to use PowerShell on your CentOS box? Easier than ever!

 

That might be old new for some of you, I was, however thrown off a little bit.

I installed a new Git module as I was playing with GitHub and wanted to update check for updates and update files accordingly. I am specifically talking about the PowerShell Cheat Sheets, which is an awesome collection. Anywho after loading the module, I was a little stumped how to get the info of the cmdlets in the module. I tried

Which only resulted in 2-3 commands.

Well the answer is easy:

This will give you all the cmdlets in a module. Pretty cool. :o)