Explicit import of module DnsServer added
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
function Get-DnsListeningIpAddresses {
|
function Get-DnsListeningIpAddresses {
|
||||||
|
Import-Module DnsServer
|
||||||
(Get-DNSServer -ComputerName localhost).ServerSetting.ListeningIpAddress
|
(Get-DNSServer -ComputerName localhost).ServerSetting.ListeningIpAddress
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"Scripts": [
|
"Scripts": [
|
||||||
"ZnVuY3Rpb24gR2V0LURuc0xpc3RlbmluZ0lwQWRkcmVzc2VzIHsNCiAgICAoR2V0LUROU1NlcnZlciAtQ29tcHV0ZXJOYW1lIGxvY2FsaG9zdCkuU2VydmVyU2V0dGluZy5MaXN0ZW5pbmdJcEFkZHJlc3MNCn0NCg=="
|
"ZnVuY3Rpb24gR2V0LURuc0xpc3RlbmluZ0lwQWRkcmVzc2VzIHsNCiAgICBJbXBvcnQtTW9kdWxlIERuc1NlcnZlcg0KICAgIChHZXQtRE5TU2VydmVyIC1Db21wdXRlck5hbWUgbG9jYWxob3N0KS5TZXJ2ZXJTZXR0aW5nLkxpc3RlbmluZ0lwQWRkcmVzcw0KfQ0K"
|
||||||
],
|
],
|
||||||
"Commands": [
|
"Commands": [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user