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)

First from CMD, that is pretty easy:

Now, with PowerShell, it is about the same, we call the user32.dll, just it is a little more work to get that to work right:

Credit for how to call DLLs from PowerShell goes to Danny.