Reply to Message

View discussion in a popup

Replying to:
CNorris_Const
Enthusiast
Enthusiast

You can put your cluster name after the Get-Cluster command in the first line as follows:

$ToolsAutoSettingsVMs = Get-Cluster "CLUSTERNAMEHERE" | Get-VM | Sort | Get-View -Property @("Name", "Config.GuestFullName", "Guest.GuestFullName", "Config.Tools.ToolsUpgradePolicy") | Select -Property Name, @{N="Configured OS";E={$_.Config.GuestFullName}}, @{N="Running OS";E={$_.Guest.GuestFullName}}, @{N='ToolsUpgradePolicy';E={$_.Config.Tools.ToolsUpgradePolicy }}
Reply
0 Kudos