Archive | June 2014

How simple some things can be – Powershell indent

In the past few years, I’ve been using tools to indent my code… Today by accident found out that in Powershell ISE, if you select multiple lines and press tab it’ll indent all selected lines… and of course shift+tab will do the reverse.

Amazing how simple some things can be without any tool… And how I’ve never before thought about trying this and automatically went looking to create my own or find an external solution once I couldn’t find it in any menu.

Nice piece of automation

Today I stumbled upon a very nice script by David O’Brien, which documents your entire System Center Configuration Manager environment.

It generates a very nice report and all created automatically. Very nice piece of automation.

http://www.david-obrien.net/2014/01/30/update-inventory-script-makes-configmgr-life-easier/