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?