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 http://powershell.com/cs/media/p/11256.aspx

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 http://www.manning.com 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 http://msmvps.com/blogs/richardsiddaway/archive/2011/08/22/teched-australia-powershell-conference.aspx   I will be presenting on WSMAN and WMI

Posted in PowerShell V2 | Leave a comment

Network Adapter vendors

The NDis WMI classes expose some information about the vendors that produce the various adapters in our systems function get-adaptervendor { param( [string]$computer=”.” ) Get-WmiObject -Namespace root\wmi -Class MSNdis_CoVendorDescription ` -ComputerName $computer | foreach { $id = Get-WmiObject -Namespace root\wmi … Continue reading

Posted in Networking, PowerShell and WMI | 1 Comment

Msndis class

The MSNdis class from the root\wmi namespace calls the MSNdis_CoHardwareStatus and MSNdis_CoDriverVersion classes. On my Windows 7 system it tries to call something else but I get a “Get-WmiObject : Not supported” error. Neither of these classes seems to have … Continue reading

Posted in Networking, PowerShell and WMI | 2 Comments

European PowerShell Deep Dive

I was notified last night that my submission to the Deep Dive was successful and I will be presenting. There will be a good number of PowerShell MVPs attending. This will be the PowerShell event of the year in Europe. … Continue reading

Posted in Deep Dive, Powershell | Leave a comment