Explicit import of module DnsServer added

This commit is contained in:
Dmitry Teselkin 2013-03-10 15:13:08 +04:00
parent b03602d35e
commit db07b090d4
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
function Get-DnsListeningIpAddresses {
Import-Module DnsServer
(Get-DNSServer -ComputerName localhost).ServerSetting.ListeningIpAddress
}

View File

@ -1,6 +1,6 @@
{
"Scripts": [
"ZnVuY3Rpb24gR2V0LURuc0xpc3RlbmluZ0lwQWRkcmVzc2VzIHsNCiAgICAoR2V0LUROU1NlcnZlciAtQ29tcHV0ZXJOYW1lIGxvY2FsaG9zdCkuU2VydmVyU2V0dGluZy5MaXN0ZW5pbmdJcEFkZHJlc3MNCn0NCg=="
"ZnVuY3Rpb24gR2V0LURuc0xpc3RlbmluZ0lwQWRkcmVzc2VzIHsNCiAgICBJbXBvcnQtTW9kdWxlIERuc1NlcnZlcg0KICAgIChHZXQtRE5TU2VydmVyIC1Db21wdXRlck5hbWUgbG9jYWxob3N0KS5TZXJ2ZXJTZXR0aW5nLkxpc3RlbmluZ0lwQWRkcmVzcw0KfQ0K"
],
"Commands": [
{