My command below runs fine....
Get-Cluster BoateyMcBoateyFace | Get-Datastore
It get's me a list of all the datastores in that cluster "BoateyMcBoateyFace".
What I need is to format the output it gives me in a tab separated value on the screen. Not to a text file.
A little unorthadoxed from the norm but that's just me. (◔/‿\◔)
Also, if possible get it without the label headers. This will make it easier for me to parse through the output in Visual Studio.
Thanks in advanced.
You mean like this?
Get-Cluster BoateyMcBoateyFace| Get-Datastore | Format-Table -HideTableHeaders
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Why not to use select * and choose the specific values under output.
You mean like this?
Get-Cluster BoateyMcBoateyFace| Get-Datastore | Format-Table -HideTableHeaders
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That got me the stripped out header output I wanted.
Is it possible to format the output in Tab Separated Value?
The output now is padded with spaces.
Thanks
I went ahead and wrote VB .Net code to parse out the data I needed.
Thanks