Monthly Archives: February 2009

Thursday – Live Meeting

Don’t forget 7pm GMT on Thursday February 26th sees Rolf Masuch presenting on using PowerShell as Active Directory Login Script.  Details here http://richardsiddaway.spaces.live.com/default.aspx?_c01_BlogPart=blogentry&_c=BlogPart&handle=cns!43CFA46A74CF3E96!2079    Technorati Tags: PowerShell,User Group

Posted in PowerShell User Group | Leave a comment

PowerShell advanced function parameters

One annoying error I have just stumbled over.  When using the Parameter keyword don’t put a space after it.  If you do this [Parameter (Position=0,HelpMessage="The length of password. Default is random between 8 and 12")] you will get this error … Continue reading

Posted in PowerShell V2 | 4 Comments

PowerShell ISE syntax errors

One thing I’ve noticed with the ISE is that if you have a syntax error such as mismatched brackets or forget a closing “ on a string all of the colour syntax highlighting disappears after the error – the text … Continue reading

Posted in PowerShell V2 | 1 Comment

PowerShell v1 to v2 changes

Jeffrey left a comment on this post http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!2084.entry regarding discovery of WMI classes.  He pointed out that if the line of PowerShell is changed to 001 Get-WMIObject -NameSpace root -Recurse -List *Printer*   that you can check all namespaces in one hit.  Recurse! where did … Continue reading

Posted in PowerShell V2 | Leave a comment

Discovering WMI

One thing that seems to come up rather frequently on the newsgroups is what WMI class do I need to use to do X. The really confusing thing about WMI is knowing just what is available. I have done far … Continue reading

Posted in PowerShell and WMI | 1 Comment

Learning PowerShell – 4 friends

When you start learning PowerShell you will find that it has a massive amount of self discovery built into the system. There are four cmdlets you find yourself using all of the time: Get-Help Get-Command Get-Member Get-PSDrive Oh.  You want … Continue reading

Posted in Powershell | Leave a comment

UK PowerShell UG meetings

Speakers for the next two meetings have been finalised. In March we will be bringing you: Jonathan Medd on the AD cmdlets in Windows Server 2008 R2 Alan Renouf on VMWare’s VI toolkit plus there will be an introduction to … Continue reading

Posted in PowerShell User Group | Leave a comment