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…
Category: Powershell 3.0
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: 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…
Friday Fun: A GridView Drive Report
I’ve been experimenting with different techniques to work with PowerShell in graphical ways, but without resorting to complex solutions such as WinForms or ShowUI. For today’s Friday Fun I have a little script that presents a drive usage report using WMI and Out-GridView. As always, my goal with these articles is to impart a nugget…
PowerShell Hyper-V Memory Report
Since moving to Windows 8, I’ve continued exploring all the possibilities around Hyper-V on the client, especially using PowerShell. Because I’m trying to run as many virtual machines on my laptop as I can, memory considerations are paramount as I only have 8GB to work with. Actually less since I still have to run Windows…
PowerShell Workflow Bug
There is bug with workflows in PowerShell v3 that you might run into. I kept banging into it until I tracked it down. Â The problem occurs if you try to run a workflow from a PSDrive that you have added. For example, I have a PSDrive (S) which is mapped to C:\Scripts. When I try…
Variable Validation
In PowerShell v3 there is a new feature you might not be aware of that could save you pain and headaches. This is something you could use in scripting as well as the console. In fact, I think using it in the console is an especially smart idea. In PowerShell v2 scripts and functions we…
PowerShell 3.0 Scheduled Jobs Slides and Demos
Yesterday I did a webinar for Idera on the new Scheduled Jobs feature of PowerShell 3.0. If you missed it, I believe you can go to http://www.idera.com/Events/RegisterWC.aspx?EventID=404 and view the archived webcast. I’m assuming that once you register you’ll be given a link for the webcast. In the meantime, I can also offer a PDF…
Query Local Administrators with CIM
Yesterday I posted an article on listing members of the local administrators group with PowerShell and Get-WmiObject. PowerShell 3.0 offers an additional way using the CIM cmdlets. The CIM cmdlets query the same WMI information, except instead of using the traditional RPC/DCOM connection, these cmdlets utilize PowerShell’s remoting endpoint so they are much more firewall…
SQL Saturday 129 Session Material
I spoke this past weekend at a SQL Saturday event in Rochester, NY. My first SQL Saturday event and it was a lot of fun. A great turnout and some very interested attendees. I did three PowerShell sessions on jobs, scheduled jobs/tasks and an intro to workflows. The latter talk I think blew out some…
On the Road Again
It’s that time of year again: conferences! I’ll be out and about a few places in the next few months and I hope our paths will cross. Here’s a short summary of where I’ll be speaking and when. If you are interested in having me speak for your group or perhaps you are interested in…
PowerShell 3.0 Easy Rider
Today I gave an Live Meeting presentation for the PowerShell Virtual User Group. When the recording is posted I’ll update this post. I spoke about new features in Windows PowerShell 3.0 that I think will make it easier for people to use PowerShell more efficiently. I think they even might find it fun. Here is…