PowerShell for Windows Admins:

DNS


June 8, 2013  5:49 AM

Creating DNS PTR records



Posted by: Richard Siddaway
CIM, DNS, PowerShell 3, PowerShell v2, WMI

When I was writing the DNS chapter of PowerShell in Practice I couldn’t get the CreateInstanceFromPropertyData method on the MicrosoftDNS_PTRType class to work. Revisiting DNS for AD management in a Month of lunches this time round I have access to the CIM cmdlets so can put the parameter names...

October 23, 2012  11:50 AM

DnsClient module: #2 DnsClient & Cache



Posted by: Richard Siddaway
DNS, PowerShell 3, Windows 8, Windows Server 2012

The DnsClient module has a number of Get- cmdlets

Get-DnsClient | Format-List InterfaceAlias, ConnectionSpecificSuffix, Register*, UseSuffix*

An example of the output is

...


October 16, 2012  2:27 PM

DnsClient module: #1 Get-DnsClientServerAddress



Posted by: Richard Siddaway
DNS, PowerShell 3, Windows 8, Windows Server 2012

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

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


April 2, 2012  12:33 PM

Finding the primary name of a DNS alias record



Posted by: Richard Siddaway
DNS, PowerShell, WMI

A forum question asked how to find the primary name from an alias or CNAME record.

Get-WmiObject -Namespace 'root\MicrosoftDNS' -Class 			


March 18, 2012  2:30 PM

Get Global Catalog from DNS



Posted by: Richard Siddaway
Active Directory, DNS, PowerShell, WMI

One option for finding global catalog servers is often overlooked – DNS.  In an AD environment DNS stores the SRV records that advertise the services domain controllers can deliver

$dnsserver = 			


September 18, 2011  8:51 AM

DNS cmdlets in PowerShell 3



Posted by: Richard Siddaway
DNS, PowerShell 3, Windows 8

There are a number of modules related to DNS ModuleType Name ---------- ---- Manifest DnsClient Manifest DnsConfig Binary DnsLookup Manifest DnsNrpt If we start with the DnsClient module we get these functions and...


September 26, 2010  12:59 PM

WMI and Network Adapters: 5



Posted by: Richard Siddaway
DNS, Network

Does a machine have problems communicating on the network? Then one troubleshooting step is to check the DNS servers it is using

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


September 13, 2010  12:21 PM

Scripting Guy Blog



Posted by: Richard Siddaway
DNS, PowerShell v2, WMI

 

The Scripting Guys are having a guest blogger week and first up is me blogging about managing DNS with PowerShell and WMI

Bookmark and Share     0 Comments     RSS Feed     Email a friend


June 29, 2010  2:13 PM

PowerShell UG – June meeting slides and recording



Posted by: Richard Siddaway
DNS, PowerShell v2, User Group

Thanks to everyone how joined the Live Meeting this evening – especially for the questions :-)

The slides and demo script are available for download from:

Bookmark and Share     0 Comments     RSS Feed     Email a friend


June 17, 2010  1:05 PM

PowerShell UG Meeting: DNS



Posted by: Richard Siddaway
DNS, PowerShell v2, User Group, WMI


When: Tuesday, Jun 29, 2010 7:30 PM (BST)


Where: Live Meeting webcast

*~*~*~*~*~*~*~*~*~*

Meeting will cover DNS, DNS best practice analyser, DNS WMI provider and DNSShell cmdlets from codeplex

Notes


Richard Siddaway has invited you to...