Solved

Windows Powershell Command to Delete an Entry

Posted on 2016-10-20
3
56 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
  • 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
 

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

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

Suggested Solutions

Set OWA language and time zone in Exchange for individuals, all users or per database.
A brief introduction to what I consider to be the best editor for PowerShell.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

832 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