Home > Tintri VMstore™ > Knowledge Base > Tintri Powershell cmdlet Get-Tintri VM returns not up to date VM information

Tintri Powershell cmdlet Get-Tintri VM returns not up to date VM information

Applies To

 

Product(s)

Version(s)

All VMstore, Tintri Automation Toolkit

All

Description

When running scripts that involve cloning VMs, The Get-TintriVM cmdlet may returns not up to date VM information.

 

Symptoms

VMs may not be listed when using Get-TintriVM

 

Resolution

One may need to use the "Get-TintriVM -refresh" option to update the VM file list. This is the same as using the Refresh option for VMs in the Tintri Web UI.

 

But do note, if the 'Refresh' parameter is used, The Tintri server queries all hypervisor managers connected to it to discover new VMs. This call may time out. If it does, it is recommended that the scripts wait for 10 minutes (the refresh interval) and try the command again, this time without the 'Refresh' parameter, as the inventory is up-to-date.

 

If the refresh option does not correct the issue, investigate why the hypervisor managers are timing out.

 

 

Viewing 2 of 2 comments: view all
Tech Approved -RD- 22-03-2017
Posted 01:59, 22 Mar 2017
Final approval
Posted 06:31, 31 Mar 2017
Viewing 2 of 2 comments: view all
You must to post a comment.
Last modified
15:11, 11 May 2017

Tags

Classifications

This page has no classifications.