Solved

Windows Powershell Command to Delete an Entry

Posted on 2016-10-20
3
79 Views
Last Modified: 2016-10-20
Hello Expers

I have entered the following command in powershell

$AdatumRs=New-AzureRmDnsRecordSet -Name "www" -RecordType "A" -ZoneName "adatum.com" -ResourceGroupName "AdatumRG" -Ttl 60

Can someone let me how to rollback that command or delete it?

Cheers

Carlton
0
Comment
Question by:Member_2_7966113
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 41852037
Use Remove-AzureRmDnsRecordSet

Ref : https://msdn.microsoft.com/en-us/library/mt619425.aspx

Remove-AzureRmDnsRecordSet -Name "www" -RecordType "A" -ZoneName "adatum.com" -ResourceGroupName "AdatumRG"

Open in new window

0
 
LVL 1

Author Closing Comment

by:Member_2_7966113
ID: 41852636
Thanks again mate
0
 
LVL 40

Expert Comment

by:Subsun
ID: 41852799
You are welcome!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

634 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