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 Get-DnsClientCache PS> Get-DnsClientCache | select -f 1 | fl Entry : 14.54.10.10.in-addr.arpa RecordName : 14.54.10.10.in-addr.arpa. […]
Archive for October, 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 administering your systems Notes Richard Siddaway has invited you to attend an online meeting using […]
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 level 2 =’ $iterations } $iterations = 0 Write-Host ‘$iterations at start =’ $iterations level1 […]
DnsClient module: #1 Get-DnsClientServerAddress
Posted by: richardsiddaway | October 16, 2012 | No Comment |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 Connection 19 IPv4 {} Bluetooth Network Connection 19 IPv6 {fec0:0:0:ffff::1, fec0:0:0:ffff::2, fec0:0:0:ffff::3} WiFi 12 IPv4 […]
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() $file = "c:\scripts\office\test1.doc" $doc.SaveAs([REF]$file) $Word.Quit() Create a new Word document – put some text into […]
April 22-14 2013 – Microsoft campus. PowerShell team and MVPs http://powershell.org/summit/ Tickets going fast
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 -split "-")[1] } | sort | group -NoElement | sort count –Descending
The first Windows 8 update became available this week. This fixes some issues that have come up during the OEM process. Fast and frequent updates sound good to me. In addition number of apps have been updated – one I really like is the addition of conversation groupings to the mail app. That’s made it […]
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS