Category Archives: PowerShell

The PowerShell Morning Report

I love how easy it is to manage computers with Windows PowerShell. It is a great reporting tool, but often I find people getting locked into one approach. I’m a big believer in flexibility and re-use and using objects in … Continue reading

Posted in PowerShell, Scripting, Windows 7, Windows Server, WMI | Tagged , , , , , | 3 Comments

Friday Fun What’s My Variable

I use scriptblocks quite a bit in my PowerShell work, often saved as variables. These are handy for commands you want to run again, but don’t necessarily need to turn into permanent functions. $freec={(get-wmiobject win32_logicaldisk -filter "deviceid=’c:’" -property Freespace).FreeSpace/1mb} Now … Continue reading

Posted in Friday Fun, PowerShell | Tagged , , , , , | Leave a comment

Format Leading Zeros in PowerShell

I’ve been working on a question in the forums at ScriptingAnswers.com and the need arose to create a folder name with a 4 digit number. But the number needed to have enough leading zeros so that the number was always … Continue reading

Posted in PowerShell, Scripting | Tagged , , | 5 Comments

Where’s Jeff?

I hope that 2011 was a good a year for you as it was for me. In 2012 I hope to keep up the pace. Here’s a brief look at where you can find me this year and a few … Continue reading

Posted in Books, Conferences, PowerShell, Professional, Training, Writing | Tagged , , | Leave a comment

Send PowerShell Reports by Mail

Today I came across a post about pinging a list of computers and send the results as a table via Outlook. Brian is a very smart Active Directory guy so I offered some PowerShell suggestions to make his task even … Continue reading

Posted in PowerShell, Scripting, Train Signal, Windows Server | Tagged , , , , , | 1 Comment