Bitte sagen Sie mir, wie Trennzeichen in Powershell hinzufügen?Wie Trennzeichen in Powershell hinzufügen
ich heraus Befehl:
Get-VM | Where-Object {$_.ExtensionData.Guest.ToolsStatus -notlike 'toolsOk'} | Select-Object Name, @{N="Tools Status";E={$_.ExtensionData.Guest.ToolsStatus}} | Format-Table -AutoSize
und erhalten:
Name Tools Status
---- ------------
Name1 toolsOld
Name2 toolsNotInstalled
Name3 toolsOld
aber mich für Format jira brauchen:
Name Tools Status
---- ------------
|Name1 |toolsOld|
|Name2 |toolsNotInstalled|
|Name3 |toolsOld|
Kann es mit Hilfe von Powershell tun?