Tag Archives: PowerShell

PowerShell in a Nutshell

This past weekend I did an online presentation for a friend of mine who teaches for ITT in Omaha, Nebraska. He wanted me to do a brief talk about what PowerShell is and show how to use it, especially for … Continue reading

Posted in PowerShell v2.0, Scripting, Training, Windows Server, WMI | Tagged , , | 1 Comment

Friday Fun: A PowerShell Alarm Clock

Today’s Friday Fun is a continuation of my exploration of ways to use Start-Job. A few weeks ago I wrote about using Start-Job to create “scheduled” tasks. I realized I could take this further and turn this into a sort … Continue reading

Posted in Friday Fun, PowerShell, PowerShell v2.0 | Tagged , , , | Leave a comment

Using Types with Imported CSV Data in PowerShell

The Import-CSV cmdlet in PowerShell is incredibly useful. You can take any CSV file and pump objects to the pipeline. The cmdlet uses the CSV header as properties for the custom object. PS S:\> import-csv .\testdata.csv Date    : 1/18/2012 … Continue reading

Posted in PowerShell v2.0, Scripting | Tagged , , , , , | 2 Comments

Friday Fun: Output to 2 Places in 1

Today’s Friday Fun comes out of a short exchange I had yesterday with Hal Rottenberg on Google Plus. We were playing around with piping a PowerShell command to Clip.exe which dumps the output to the Windows Clipboard. I got to … Continue reading

Posted in Friday Fun, PowerShell v2.0 | Tagged , , , , | Leave a comment

Convert Text to Object Updated

I’ve had a few comments and emails lately about my post and script on converting text to objects. I decided the function needed a little more lovin’ so today I have an updated version, complete with comment based help. Function … Continue reading

Posted in CommandLine, PowerShell, PowerShell v2.0, Scripting | Tagged , , , | 3 Comments