Monthly Archives: October 2012

DnsClient module: #2 DnsClient & Cache

The DnsClient module has a number of Get- cmdlets Get-DnsClient | Format-List InterfaceAlias, ConnectionSpecificSuffix, Register*, UseSuffix* An example of the output is InterfaceAlias                 : Ethernet ConnectionSpecificSuffix       : RegisterThisConnectionsAddress : True UseSuffixWhenRegistering       : False Of more interest when trouble shooting is … Continue reading

Posted in DNS, PowerShell V3, Windows 8, Windows Server 2012 | Leave a comment

UK PowerShell Group–November 2012

When: Tuesday, Nov 13, 2012 7:30 PM (BST) Where: *~*~*~*~*~*~*~*~*~* PowerShell workflows are one of the major new features of PowerShell v3. This session will provide an introduction to using this functionality and some ideas of where they fit into … Continue reading

Posted in PowerShell User Group, PowerShell V3 | 1 Comment

A question of scope

I had a question left on my blog regarding scope.  The following is a simplified version of the problem function level1 { $iterations++ Write-Host ‘$iterations in level 1 = ‘ $iterations level2 } function level2 { $iterations++ Write-Host ‘$iterations in … Continue reading

Posted in Powershell | 1 Comment

DnsClient module: #1 Get-DnsClientServerAddress

Started to investigate the DnsClient module.  First cmdlet to catch my eye was Get-DnsClientServerAddress. Always good to know a way to find the DNS server. PS> Get-DnsClientServerAddress InterfaceAlias               Interface Address ServerAddresses                              Index     Family ————–               ——— ——- ————— Bluetooth Network … Continue reading

Posted in DNS, PowerShell V3, Windows 8, Windows Server 2012 | 1 Comment

PowerShell 3 and Word

  This is a common scenario $word = New-Object -ComObject “Word.application” $word.visible = $true $doc = $word.Documents.Add() $doc.Activate() $word.Selection.Font.Name = “Cambria” $word.Selection.Font.Size = “20” $word.Selection.TypeText(“PowerShell”) $word.Selection.TypeParagraph() $word.Selection.Font.Name = “Calibri” $word.Selection.Font.Size = “12” $word.Selection.TypeText(“The best scripting language in the world!”) $word.Selection.TypeParagraph() … Continue reading

Posted in Office 2010, Office 2013, PowerShell V3, Windows 7, Windows 8 | 8 Comments

PowerShell summit

April 22-14  2013 – Microsoft campus.  PowerShell team and MVPs http://powershell.org/summit/ Tickets going fast

Posted in Deep Dive, Powershell | Leave a comment

CDXML modules and nouns

CDXML modules don’t expose the verb and the noun of the cmdlets they publish.  If you want to discover the set of nouns in a CDXML module you need a bit of brute force: Get-Command -Module DhcpServer |foreach {  ($_.Name … Continue reading

Posted in PowerShell V3, Windows 8, Windows Server 2012 | Leave a comment