Monthly Archives: April 2011

PowerShell Deep Dive: IV Formatting script

During Jeff Hicks’ talk about formatting he did the usual demo of taking an extract of a format file and modify it to create a new default format.  Jim Truher mentioned that he had a script that would generate the … Continue reading

Posted in Deep Dive, PowerShell V2 | 1 Comment

PowerShell Deep Dive III: WQL query speed

One topic that came up during my talk at Deep Dive was the speed of running a WQL vs using –Filter in Get-WmiObject.  I’d never tested it so its time to find out. PowerShell v2 has a handy cmdlet called … Continue reading

Posted in Deep Dive, PowerShell and WMI | Leave a comment

Scripting Games commentary: VI Get-Process

One of the events involved getting some information about a file running in a particular process. On a local machine we can use Get-Process powershell –FileVersionInfo   Get-Process has a computername parameter so we can work remotely.    WRONG. If … Continue reading

Posted in PowerShell V2 | 1 Comment

PowerShell Deep Dive: II Win32_Volume

One question that I was asked at the deep dive – Is there a way to link a disk volume back to the physical disk it resides on? There doesn’t seem to be. If we test the WMI classes associated … Continue reading

Posted in Deep Dive, PowerShell V2 | 3 Comments

Scripting Games Commentary: V – Remoting

In PowerShell we have a number of ways to perform actions on remote machines. Many of the scenarios in the Scripting Games introduced the need to perform some action on a remote machine. Many of the solutions involved creating sessions, … Continue reading

Posted in PowerShell V2, Scripting | Leave a comment

Scripting Games 2012

Next years Scripting Games will be April 2-13 Looking forward to it already

Posted in Scripting | Leave a comment

Scripting Games Commentary: IV Whatif

PowerShell cmdlets that change the system state have a –whatif parameter to test what would happen for example PS> Get-Service sp* | Stop-Service -WhatIfWhat if: Performing operation “Stop-Service” on Target “Print Spooler (Spooler)”.What if: Performing operation “Stop-Service” on Target “Software … Continue reading

Posted in PowerShell V2 | Leave a comment

Scripting Games Commentary: III PowerShell and Excel

Some of the events had the production of a CSV file as the end result with a bonus point if you opened the file in Excel. The quickest way and easiest way to open a CSV file in Excel is … Continue reading

Posted in COM, Office 2010, PowerShell V2 | Leave a comment

May 2011–UK PowerShell UG

When: Tuesday, May 10, 2011 8:30 PM (BST)Where: Live Meeting *~*~*~*~*~*~*~*~*~* Join PowerShell MVP and author Jonathan Medd to learn about PowerShell modules and how to get the most out of them. Notes Richard Siddaway has invited you to attend … Continue reading

Posted in PowerShell User Group | 1 Comment

PowerShell Deep Dive: I–COM collections

The PowerShell Deep Dive last week was the best conference I have ever attended. The group consisted of members of the PowerShell team, Ed Wilson – the Scripting Guy, PowerShell MVPs and a large number of PowerShell experts and enthusiasts.  … Continue reading

Posted in Deep Dive, PowerShell V2 | Leave a comment