Yesterday I posted a tool that creates a console-based graph. That command uses Write-Host which means nothing is sent to the pipeline. The only way you can really save the result is with a screen capture. Of course, you can manually use whatever screen capture program you like. If you have something like Snagit you…
Graphing with the PowerShell Console
I’ve written before about using the PowerShell console as a graphing tool, primarily using Write-Host. Most of what I’ve published before were really proof of concept. I decided to try and come up with a more formal and re-usable tool that could create a horizontal bar graph based on a numeric property from piped objects….
Friday Fun: Edit Recent File
As you might imagine I work on a lot of PowerShell projects at the same time. Sometimes I’ll start something at the beginning of the week and then need to come back to it at the end of the week. The problem is that I can’t always remembered what I called the file. So I…
Special PowerShell and Group Policy Session Feb 6
If you are involved with managing Group Policy, then you most likely know of Group Policy MVP Jeremy Moskowitz. If you live live in the NY, PA or NJ area (or like to travel), then you might also be interested a week long class on Group Policy the week of February 4th, 2013. The class…
Hyper-V ID Hash Table
In Hyper-V, one of the challenges (at least that I’ve run into) has to do with naming. In addition to a name, Hyper-V objects such as virtual machines, are identified with a GUID. Most of the VM-related PowerShell cmdlets will let you specify a virtual machine name. But sometimes you’ll run across the GUID and…
Friday Fun: Job Announcer
Last week I came across some people having fun with the SAPI.SPVoice COM object. This is the object that lets your computer “speak”. If you’ve never played with this, it is very simple to do in PowerShell. The voice quality in Windows 7 and 8 is quite nice, as far as synthetic voices go. $v…
Friday Fun: Scraping the Web with PowerShell v3
We often think about PowerShell v3 as being a management tool for the cloud. One new PowerShell v3 cmdlet that lends substance to this idea is Invoke-WebRequest. This is a handy for retrieving data from a web site resource. It might be a public web site or something on your intranet. For today’s fun I…
New PowerShell 3.0 Video Training Course
I am very pleased to announce that my latest course from Trainsignal is now available. PowerShell v3 New Features is a course aimed at those of you who have experience with PowerShell v2. I wanted to create something that you could use as a jump-start into PowerShell v3 so the course focuses on what’s new,…
Friday Fun – Get Happy Holiday
Today’s Friday Fun is my version of a script originally posted a few years ago by The PowerShell Guy. I’ll list the code but you really need to run it to enjoy it. #requires -version 2.0 #This must be run from the PowerShell console. NOT in the ISE. #this is based on a script originally…
Create PowerShell Scripts with a Single Command
One of the drawbacks to using a PowerShell script or function is that you have to write it. For many IT Pros, especially those new to PowerShell, it can be difficult to know where to start. I think more people would write their own tools if there was an easy way to automatically write them….
Copy and Mount a CD with PowerCLI
The other day I realized I needed to rebuild my SQL Server 2012 installation which I’m running on a virtual machine running on an ESX box. Given that I have PowerCLI and I like to do things from the command prompt when I can, I decided to mount the SQL Server 2012 ISO on the…
Friday Fun: Testing Google Chrome Bookmarks with PowerShell
I was cleaning up and organizing bookmarks in Google Chrome today and decided to find out where they were stored on my computer. I found the Bookmarks file in a local app data folder. Opening it up in Notepad I was pleasantly surprised to discover it is in JSON. Excellent! This gives me an opportunity…
Learn PowerShell 3 in a Month of Lunches now available
I am very happy to report that the new version of Learn PowerShell 3 in a Month of Lunches is now available from Manning. This is the second edition of the popular book originally authored by PowerShell legend Don Jones. Don invited me to collaborate on the second edition which covers PowerShell v3 and I…
Importing Hyper-V VM from a PowerShell Backup
My Petri article this week is on importing Hyper-V VMs from a backup. http://bit.ly/PRE0pk I have many more articles on Hyper-V on Windows 8 on the site as well. You can find all of my recent posts here.
Honorary Scripting Guy
I am pleased, honored and humbled to be selected as an Honorary Scripting Guy for 2012. I certainly would like to thank Ed Wilson, THE Scripting Guy. I would also like to congratulate my fellow honorees. If you aren’t following these people on Twitter, G+ or the blogosphere you are missing out on a wealth…