Monthly Archives: February 2009

Module Manifests

When we looked at modules we used Export-Module at the end of the module file to control which functions were made visible.  This becomes a little awkward if we have a large number of functions that we may want to … Continue reading

Posted in PowerShell V2 | Leave a comment

LiveMeeting – Last Call

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

Windows 7

Just installed Windows 7 on an old laptop – 0.75GB RAM single core.  It works a treat and is reasonably responsive.  It is more than enough for Office type applications and Internet.  Well impressed as Vista wouldn’t even look at … Continue reading

Posted in Microsoft | Leave a comment

Active Directory 4th Edition

Active Directory 4th Edition is the latest update to the classic book on the subject.  I have read at least parts of each of the previous versions and I find it becomes more valuable with each succeeding edition. Four authors … Continue reading

Posted in Active Directory | Leave a comment

PowerShell UG March

The March meeting will be on Thursday 26th March at 6.30pm Location:  Microsoft Offices in Reading (TVP) Memphis room Speakers: Jonathan Medd on the AD cmdlets in Windows Server 2008 R2 Alan Renouf on VMWare’s VI toolkit plus there will … Continue reading

Posted in PowerShell User Group | Leave a comment

PowerShell Modules II

Last time we created a script file with three functions new-password which controls the creation of a new password get-randchar which generates a random character from a given character set add-character which adds one of more characters of a given … Continue reading

Posted in PowerShell V2 | Leave a comment

PowerShell Modules

After reading Thomas’ post on modules – http://tfl09.blogspot.com/2009/01/powershell-audit-reports-turning-great.html I had decided that I need to move my script collection over to a set of modules.  It would be easier to manage, force me to combine the numerous versions of scripts … Continue reading

Posted in PowerShell V2 | 2 Comments

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