Code to return DNS listening IPs from DC added

This commit is contained in:
Dmitry Teselkin 2013-03-10 14:59:39 +04:00
parent 8967557c2c
commit 58717d9682
4 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,7 @@
include Get-DnsListeningIpAddress.ps1
call Get-DnsListeningIpAddress
reboot 0
out out.json

View File

@ -0,0 +1 @@
..\ExecutionPlanGenerator.exe ExecutionPlan.txt

View File

@ -0,0 +1,3 @@
function Get-DnsListeningIpAddresses {
(Get-DNSServer -ComputerName localhost).ServerSetting.ListeningIpAddress
}

View File

@ -0,0 +1,12 @@
{
"Scripts": [
"ZnVuY3Rpb24gR2V0LURuc0xpc3RlbmluZ0lwQWRkcmVzc2VzIHsNCiAgICAoR2V0LUROU1NlcnZlciAtQ29tcHV0ZXJOYW1lIGxvY2FsaG9zdCkuU2VydmVyU2V0dGluZy5MaXN0ZW5pbmdJcEFkZHJlc3MNCn0NCg=="
],
"Commands": [
{
"Name": "Get-DnsListeningIpAddress",
"Arguments": {}
}
],
"RebootOnCompletion": 0
}