Monthly Archives: March 2008

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

PowerShell and Excel

In this post http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!290.entry I showed how the restriction on automating Excel due to using non USA locales could be overcome.  I gave an example of adding a workbook to Excel.  There are a number of posts leading up to … Continue reading

Posted in Powershell | 1 Comment

VMWare cmdlets

In this post – http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!1188.entry – I referred to the VMWare PowerShell cmdlets for VI This kit is available for download from http://communities.vmware.com/community/developer/windows_toolkit It is currently still marked as beta and contains 102 cmdlets for managing VMWare.  This will get … Continue reading

Posted in Powershell | Leave a comment

Warning!!!

If you have not seen the warning posted on the PowerShell Team blog concerning the fate of ANY modifications to the PowerShell installed XML files when V2 is installed you must read this. http://blogs.msdn.com/powershell/archive/2008/03/22/never-modify-powershell-s-xml-files.aspx In other words if you have … Continue reading

Posted in Powershell | Leave a comment

System Updates

One method of digging into the updates applied to your system is via the Windows Update History.  This can be accessed as follows $session = New-Object -ComObject Microsoft.Update.Session$search = $session.CreateUpdateSearcher()$count = $search.GetTotalHistoryCount()$history = $search.QueryHistory(1, $count)$history | Select Title, Date, Description … Continue reading

Posted in Powershell | Leave a comment

Scripting vs Interactive

I picked up a copy of Windows PowerShell Scripting Guide by Ed Wilson (MS Press) at the launch event earlier in the week.  Can’t wait to try the flashing bunny script but that’s a different story.  I write a full … Continue reading

Posted in Powershell | Leave a comment

VBScript to Powershell

Dmitry has done it again.  The latest PowerGUI has VBScript to PowerShell conversion functionality – see http://dmitrysotnikov.wordpress.com/ Share this post :

Posted in Powershell | Leave a comment