Monthly Archives: November 2014

Add a drop down to a Word document

  Its surprisingly easy to programatically add a drop down list to Word document   $Word = New-Object -Com Word.Application$word.visible = $true$template = “c:\test\template.docx”   $Doc = $Word.Documents.Open($template)$Doc.Activate()    $cntrl = [Enum]::Parse([Microsoft.Office.Interop.Word.WdContentControlType], “wdContentControlDropdownList”) $objCC = $doc.ContentControls.Add($cntrl) $objCC.DropdownListEntries.Add(“PowerShell”)$objCC.DropdownListEntries.Add(“Ruby”)$objCC.DropdownListEntries.Add(“Perl”)   Create the COM object … Continue reading

Posted in Office 2013, Powershell | 1 Comment

The little changes that make a difference

Each version of PowerShell introduces a new headline feature – remoting, workflows, DSC, OneGet in version 2,3,4 and 5 respectively. While this can change the way we work there are also a host of little changes that come along that … Continue reading

Posted in Powershell Basics | Leave a comment

Persisting PowerShell Objects

I was asked recently about persisting PowerShell objects. The idea was to test a particular property on a semi-regular basis and save the object with the highest value for the property.  If the next test has a higher value it … Continue reading

Posted in Powershell | Leave a comment

PowerShell Summit Europe 2015 – – topics to include

Are you planning on attending the PowerShell Summit Europe 2015.  If so what topics would you like to see covered. The Summit is deliberately pitched at a high level so you won’t find beginner level content. If there’s a topic … Continue reading

Posted in European Summit, Powershell | 3 Comments

Call for Presentations for PowerShell Summit Europe 2015

The PowerShell Summit is the number one conference where PowerShell enthusiasts gather and learn from each other in fast-paced, knowledge packed presentations. PowerShell experts from all over the world including MVP’s, Guru’s, community leaders and PowerShell team members, will once … Continue reading

Posted in Powershell, Summit | Leave a comment

Creating NIC team without knowing the team members

I was asked how to create a NIC team only using the 1GB adapters without knowing how many 1gb NICs were on the server.   I think this should solve the problem   New-NetLbfoTeam -TeamMembers (Get-NetAdapter | where Speed -ge … Continue reading

Posted in Networking, PowerShell V3, PowerShell v4 | 1 Comment

PowerShell books = Deal of the Day

Manning’s Deal of the Day for 18 November 2014 includes PowerShell in Depth, second edition and PowerShell and WMI

Posted in Books, Powershell | Leave a comment

PowerShell is 8 years old this month

Strange as it may seem PowerShell 1.0 was release in November 2006. In that time we’ve had a lot of changes: – PowerShell support added to all major Microsoft products – except Office! – Third party adoption of PowerShell – … Continue reading

Posted in Powershell | 1 Comment

PowerShell in Depth, second edition in print

I received my copies of the print version of PowerShell in Depth, second edition today.  Amazon shows it being available in a couple of days Enjoy

Posted in Books, Powershell | Leave a comment


The ability to create transcripts of your PowerShell activity is great for keeping track of what you’ve done. They are also very useful when testing as you can keep a record of your results.  There’s one problem though – transcripts … Continue reading

Posted in PowerShell v5 | Leave a comment