Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Find WINS Servers on IPv4 Adapters

$
0
0

Hello,

I have a list of servers in a text file. I need to find out what WINS servers are configured on the ip4 net adapter of each server in the text file. I am trying this but it's not working.

Get-Content C:\Users\rich_ellis\Desktop\WINS\ComputerList.txt | Foreach-Object {Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table -Property WINSPrimaryServer,WINSSecondaryServer}

Any suggestions?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>