Hi All,
I am trying to transpose an output from powershell, using a command on Hyper-V SCVMM. The command is:
Text
Get-VM | Select-Object name | ft -HideTableHeaders
...and the output I get is as follows:
VM1
VM2
VM3
I would like to transpose this list to:
"VM1","VM2","VM3"
If anyone is aware of a way to do this, I would appreciate it.
Many thanks