$Computers = GC “c:\temp\servers.txt”
foreach($computer in $computers)
{
Get-WMIObject Win32_NetworkAdapterConfiguration -Computername $Computer | Where-Object {$_.IPEnabled -match "True"} |
Select-Object -property DNSHostName,@{N=”DNSServerSearchOrder”;
E={“$($_.DNSServerSearchOrder)”}},
@{N=’IPAddress’;E={$_.IPAddress}}|export-csv c:\temp\DNSlist.csv -NoTypeInformation -append
#@{N=’DefaultIPGateway’;E={$_.DefaultIPGateway}}
}
5wtuvp
ozdx04
xca0sh
x9uvdq
frerk8
ex2win
What i do not understood is actually how you are not really a lot more smartly-liked than you might be now. You’re so intelligent. You understand therefore significantly in relation to this subject, made me for my part imagine it from a lot of various angles. Its like men and women aren’t fascinated until it is one thing to accomplish with Lady gaga! Your own stuffs outstanding. All the time deal with it up!
d3906v
n1ln6n
iygs0e
Its superb as your other content : D, thanks for putting up.
4irtp8
875vt6
semygp
I’ll right away grab your rss feed as I can’t find your email subscription link or newsletter service. Do you have any? Kindly let me know in order that I could subscribe. Thanks.
dfjb6c