LucD
Leadership
Leadership

With a calculated property you can access the $_.Entity.Name value

Get-VMHost |
Get-AdvancedSetting -Name Syslog.global.logDirUnique |
Set-AdvancedSetting -Value $True -Confirm:$False |
Select @{N='VMHost';E={$_.Entity.Name}},Name,Value,Type,Description |
Format-Table -AutoSize


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos