Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Create an SRV Record in DNS with PowerShell

$
0
0

Summary: Use Windows PowerShell cmdlets to create a server resource record.

Hey, Scripting Guy! Question Is there was a way to script the creation of my internal server resource records for my Lync deployments?

Hey, Scripting Guy! Answer If you're running Windows Server 2012 R2 or Windows Server 2012,
          use the Add-NewDNSServerResourceRecord cmdlet (the following is a one-line command
          that is broken for the webpage):

Add-DnsServerResourceRecord –zone Contoso.local –name _sip
–domainname sip.contoso.local –weight 0 –priority 0 –port 5060 –computername Contoso-DC


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>