Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Need help on powershell to output on CSV format

$
0
0

Hi Guys,

Need your help on this one. I would like to output staticexcludeddomains that we have (there are about 20+ servers listed in them). My problem is to output them on CSV in table form and to get all list without dots in it. I have this command now but it looks messy when I open it on excel.

[PS] C:\>Get-ExchangeServer Servername -Status | ft StaticExcludedDomainControllers, CurrentDomainControllers, Curren
tGlobalCatalogs -auto -wrap | out-string -width 4096 | out-file -filepath C:\output.csv

I also tried to set up “formatenumerationlimit” to -1 but still have no luck.

Please help me guys.

Thanks,

John



None


Viewing all articles
Browse latest Browse all 4521

Trending Articles



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