$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
1gxz4z
Wow! This could be one particular of the most useful blogs We’ve ever arrive across on this subject. Actually Magnificent. I’m also a specialist in this topic so I can understand your hard work.
kre9yb
Hi there! I could have sworn I’ve been to this website before but after browsing through some of the post I realized it’s new to me. Nonetheless, I’m definitely delighted I found it and I’ll be book-marking and checking back frequently!
wpe9fe
I like the efforts you have put in this, appreciate it for all the great articles.