Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 246801

Re: Problem sending output to file

$
0
0

The Write-Output cmdlet produces specifally formatted objects to be outputted to the console.

Those objects are not intended to be placed in a text file.

 

Use the Out-File cmdlet instead.

For example:

"Hostname`tSizeGB`tCreatedOn" | Out-File $outfile

Viewing all articles
Browse latest Browse all 246801

Trending Articles



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