Monthly Archives: August 2011

Windows firewall

I normally leave the Windows firewall enabled in my test environment. It ensures I don’t forget it when testing. My recent session for the TechEd:Australia PowerShell conference involved me disabling various firewall rules on the subject machine to set up … Continue reading

Posted in COM, Firewall, PowerShell V2 | 2 Comments

UK User Group sessions

This is the provisional list of meetings for the rest of the year   20 September Aleksandar Nikolic  7.30pm BST 25 October  WSMAN and WMI  – this is an extended version of the talk I gave over Live Meeting to … Continue reading

Posted in PowerShell User Group | Leave a comment

Webcast: Get the most from PowerShell and WMI

I will be presenting the above webcast next week. Date: Wednesday, September 7, 2011 Time: 12:00 PM – 1:00 PM CST   Thats 6pm UK time   Register for the web cast at

Posted in PowerShell and WMI | Leave a comment

Testing services

A forum question about testing services and if they weren’t running got me thinking. I created an function to solve the question function test-service{ [CmdletBinding(SupportsShouldProcess=$true)] param ( [parameter(Position=0, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true)] [Alias(“CN”, “ComputerName”)] [string]$computer=”.” , [string]$service=”BITS” , [parameter(Mandatory=$true)] [string]$file ) BEGIN … Continue reading

Posted in PowerShell and WMI | Leave a comment

Testing computer existence in AD

Forum question wanted to take a list of computer names in a csv Using the Quest cmdlets it becomes Import-Csv computers2.csv | foreach { $comp = Get-QADComputer -Name $($_.Name) if ($comp) {$location = $comp.DN} else {$location = “Does NOT exist … Continue reading

Posted in PowerShell and Active Directory | 1 Comment

Deal of the Day–PowerShell

PowerShell and WMI is Manning’s deal of the day – 50% off print or e-book.   The deal also extends to PowerShell in Practice and PowerShell in Action 2E See for details

Posted in Books, PowerShell V2 | Leave a comment

Reminder: TechEd Australia PowerShell conference

The TechEd Australia PowerShell conference starts tomorrow at midnight UK time (9am in Australia).  Details from   I will be presenting on WSMAN and WMI

Posted in PowerShell V2 | Leave a comment