Monthly Archives: June 2012

OMI

You may have noticed that I mention WMI from time to time   Up to now WMI has been a Windows technology. Powerful but limited to Windows.  WMI has taken a giant step into the big bad world with the … Continue reading

Posted in PowerShell and WMI | 2 Comments

Free books 27 June 2012

Want some free ebooks? Check out http://social.technet.microsoft.com/wiki/contents/articles/11608.e-book-gallery-for-microsoft-technologies-en-us.aspx#Configure%20Kerberos%20Authentication%20for%20SharePoint%202010%20Products

Posted in Books | 1 Comment

Write-Host Wrong!

Many scripting languages require you explicitly write out to screen – VBScript was an example. This leads to PowerShell that looks like this Get-Service |foreach {  Write-Host $_.Name, $_.Status} This is bad on so many levels. Firstly you are doing … Continue reading

Posted in Powershell Basics | Leave a comment

How do I do X in PowerShell?

Many forum questions revolve around that question.  In some cases the answer is that its not possible. It might not be possible because PowerShell itself can’t do something BUT it is much more likely that there just isn’t away to … Continue reading

Posted in Powershell Basics | Leave a comment

Reminder–UK PowerShell Group–July 2012 meeting

When: Wednesday, Jul 4, 2012 8:30 PM (BST)Where: Virtual *~*~*~*~*~*~*~*~*~* Jonathan Medd will be talking about using PowerShell to administer a XenDesktop environment Notes Richard Siddaway has invited you to attend an online meeting using Live Meeting.Join the meeting.Audio InformationComputer … Continue reading

Posted in PowerShell User Group | 2 Comments

WMI property names

A question brought it home to me that WMI property names don’t always mean what you might think they mean – this is also true of other objects but I tripped over this one with WMI so we’ll stick with … Continue reading

Posted in PowerShell and WMI, PowerShell V2, PowerShell V3 | Leave a comment

Pipeline input

A question on the forum asked about creating a function that accepts pipeline input OR has a path parameter.  Means it can be used like this myfunction -Path C:\scripts\Test\proc.csv or (Get-Content C:\scripts\Test\files.txt) | myfunction First create a csv file Get-Process … Continue reading

Posted in Powershell Basics | Leave a comment

UK PowerShell Group–July 2012

When: Wednesday, Jul 4, 2012 8:30 PM (BST)Where: Virtual *~*~*~*~*~*~*~*~*~* Jonathan Medd will be talking about using PowerShell to administer a XenDesktop environment Notes Richard Siddaway has invited you to attend an online meeting using Live Meeting.Join the meeting.Audio InformationComputer … Continue reading

Posted in PowerShell User Group | 1 Comment

Colossus

I went to Bletchley Park today – http://www.bletchleypark.org.uk/ One of the exhibits there is the Colossus machine – regarded as the World’s first computer. Imagine a machine that has 2 rows of electronics each 5 racks wide by 1 rack … Continue reading

Posted in General | Leave a comment

Rant: Wireless connectivity at airports

I’ve been on two international trips this year – one to San Diego & one to Vienna flying out of London Heathrow and London Gatwick respectively. Both San Diego and Vienna supply free wireless connectivity that works. Heathrow and Gatwick … Continue reading

Posted in Rant | 2 Comments