Monthly Archives: March 2008

Write-Progress

One cmdlet that I don’t see used very much is Write-Progress.  It is used to display a progress bar near the top of the PowerShell window.  It is surprisingly easy to use Write-Progress -Activity "Populating spreadsheet" -Status "Pecentage complete" -PercentComplete … Continue reading

Posted in Powershell | Leave a comment

Hash tables revisited

Browsing the script center I came across a number of articles dealing with VBScript Dictionary objects.  In PowerShell the analagous functionality is provided by a hash table.  The same examples in PowerShell are given below. Add elements to a hash … Continue reading

Posted in Powershell | Leave a comment

User Group March meeting

The techno-gremlins attacked again last night – causing audio to keep muting on Live Meeting.  Apologies for that to everyone who linked into the meeting. We had  very good presentations from Magnus of Special Operations Software on how their products … Continue reading

Posted in PowerShell User Group | 3 Comments

Start Menu

Do you want to check what is on your start menu Get-WmiObject -Class Win32_LogicalProgramGroupItem | Select Name Very nicely shows if the item is from Default user, Public or the current user Share this post :

Posted in PowerShell and WMI | Leave a comment

Unix aliases

Many of the PowerShell cmdlets are given aliases that correspond to Unix commands.  One of the standard Unix commands that seems to be missing is grep.  In this post Jeffrey explains how Select-String supplies that functionality and then some. http://blogs.msdn.com/powershell/archive/2008/03/23/select-string-and-grep.aspxContinue reading

Posted in Powershell | Leave a comment

PowerShell tab expansion

James has picked up on the fact that standard Tab expansion in PowerShell V1 doesn’t pick up functions.  He has modified the PowerShell Community Extensions Tab Expansion function   (now that is a mouthful  – next Scripting Games challenge is to … Continue reading

Posted in Powershell | Leave a comment

March – UK PowerShell User Group

The March meeting of the PowerShell User Group will be held on Date: March 25thTime: 6.30 – 9.30pm Place: Clarks Legal, One Forbury Square, The Forbury, Reading RG1 3EB.  A map showing the location and Reading’s infamous one way system … Continue reading

Posted in PowerShell User Group | Leave a comment