Get VM names and the vmTools Version - PowerCLI
Open PowerCLI
$Creds = get-credential
enter your VC User/Pass
Connect-VIServer -Credential $Creds -server "your Vcenter server"
Get-View -ViewType VirtualMachine -property Name, Config.Tools | select Name, @{ Name="ToolsVersion"; Expression={$_.config.tools.toolsVersion}} | export-csv toolsversion.csv
$Creds = get-credential
enter your VC User/Pass
Connect-VIServer -Credential $Creds -server "your Vcenter server"
Get-View -ViewType VirtualMachine -property Name, Config.Tools | select Name, @{ Name="ToolsVersion"; Expression={$_.config.tools.toolsVersion}} | export-csv toolsversion.csv
Comments
Post a Comment