Solved

Adding a DNS SRV Record to DNS residing on Windows Server Core 2012 (No GUI)

Posted on 2013-12-22
8
1,850 Views
Last Modified: 2013-12-27
Heyas,

I need to add a DNS SRV records to a Windows 2012 Server Core Machine (No GUI) when I log into this machine only the command line appears. How do I add the DNS record via the command line.

Please bear in mind I am a complete novice with Windows Server 2012.

Any help would be much appreciated.

Thank you.
0
Comment
Question by:Zack
  • 4
  • 3
8 Comments
 
LVL 7

Expert Comment

by:dsnegi_25dec
ID: 39735312
0
 

Author Comment

by:Zack
ID: 39735314
Heya Dsnegi_25dec,

Thanks for the info but how do I launch Powershell if all I have is the command line box appearing on the Server Core machine.
0
 

Author Comment

by:Zack
ID: 39735328
Ok I have managed to launch Windows Powershell with the command "start powershell". Is there a powershell command I can use to find the name of the "Server Core" machine I am operating on?
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 7

Expert Comment

by:dsnegi_25dec
ID: 39735407
0
 

Author Comment

by:Zack
ID: 39735412
Hi DsNegi_25dec,

The next issue is that the New-DNSrecord command doesn't work this is the error message I get, bare in mind I have set-executionpolicy to allsigned in powershell.

new-dnsrecord : The term 'new-dnsrecord' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ new-dnsrecord
+ ~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (new-dnsrecord:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Thank you.
0
 
LVL 7

Accepted Solution

by:
dsnegi_25dec earned 250 total points
ID: 39735440
Can you try below

http://stackoverflow.com/questions/7425281/make-dns-record-entries-using-wmi-from-powershell



http://keithlangmead.blogspot.in/2013/06/powershell-v3-and-new-features.html


Add-DnsServerResourceRecord -DomainName mail.domain.com -Name _autodiscover._tcp -Port 443 -Priority 0 -Srv -Weight 0 -ZoneName foo.com -WhatIf
0
 
LVL 36

Assisted Solution

by:Mahesh
Mahesh earned 250 total points
ID: 39735502
Do you have administrative rights on 2012 Core machine ?

You can download RSAT tools for windows 2012 server which can be run through Win 8 Machine and from there you can add dns tools and add 2012 core server there to manage it from GUI
http://www.microsoft.com/en-us/download/details.aspx?id=28972
http://blogs.technet.com/b/blainbar/archive/2013/07/23/manage-your-windows-2012-server-with-remote-server-administration-tools-rsat-from-windows-8-read-on.aspx

Mahesh
0
 

Author Closing Comment

by:Zack
ID: 39741388
Cheers for help guys.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question