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

Can Get-DNSServer produce output in readable CSV or TXT and not XML?

$
0
0

Hello,

A Get-DNSServer -CN MyDC1 run from the console produces a nice formatted list of info to the console.  An export-csv of this same data gives me headings, but no data.  An Export-Clixml works, but I can view/use the data in this format.  Converting xml to csv doesn't work as well.  A Format-List, then Out-File doesn't give me the data either.

Any suggestions on how I can get properly formatted CSV file with this output or at least, a Format-List to a text file?


Thanks for your help! SdeDot


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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