Code to return DNS listening IPs from DC added
This commit is contained in:
		@@ -0,0 +1,7 @@
 | 
			
		||||
include Get-DnsListeningIpAddress.ps1
 | 
			
		||||
 | 
			
		||||
call Get-DnsListeningIpAddress
 | 
			
		||||
 | 
			
		||||
reboot 0
 | 
			
		||||
 | 
			
		||||
out out.json
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
..\ExecutionPlanGenerator.exe ExecutionPlan.txt
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
function Get-DnsListeningIpAddresses {
 | 
			
		||||
    (Get-DNSServer -ComputerName localhost).ServerSetting.ListeningIpAddress
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								Deployment/ExecutionPlan/GetDnsIpAddressesOnDc/out.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Deployment/ExecutionPlan/GetDnsIpAddressesOnDc/out.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
{
 | 
			
		||||
  "Scripts": [
 | 
			
		||||
    "ZnVuY3Rpb24gR2V0LURuc0xpc3RlbmluZ0lwQWRkcmVzc2VzIHsNCiAgICAoR2V0LUROU1NlcnZlciAtQ29tcHV0ZXJOYW1lIGxvY2FsaG9zdCkuU2VydmVyU2V0dGluZy5MaXN0ZW5pbmdJcEFkZHJlc3MNCn0NCg=="
 | 
			
		||||
  ],
 | 
			
		||||
  "Commands": [
 | 
			
		||||
    {
 | 
			
		||||
      "Name": "Get-DnsListeningIpAddress",
 | 
			
		||||
      "Arguments": {}
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "RebootOnCompletion": 0
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user