GodfatherHTLF
Contributor
Contributor

powershell command output include host name

when i use the fallowing command it outputs the results, but doesn't tell me what host the results happened on.  How can i modify the command to display the name of the server/host that pairs w/ the output?

 

Get-VMhost | Get-AdvancedSetting -Name Syslog.global.logDirUnique | Set-AdvancedSetting -Value $True -Confirm:$False | ft -AutoSize

 

this is my output

GodfatherHTLF_0-1663597081033.png

 

I'd like another column that would state the server name.

Reply
0 Kudos