Hi guys, I know that I am missing something very simple, I just can't figure out what it is. I have a list of servers that I need to get a list of the DNS servers that they are pointing to.
This is what I have
Powershell
Get-Contentdnsservers.txt|Foreach-Object{Get-DnsClientServerAddress–ExpandPropertyServerAddresses}|Export-csv-pathdnsforwarderlist-output.csv
when i run it, i get "Get-DnsClientServerAddress : A parameter cannot be found that matches parameter name 'ExpandProperty'." yet when i run it against the computer that I am on, i get the correct info.
How can I run this against a list of remote servers
please let me know
thanks
app