rescanning virtual machines from powershell

PowerShell script exchange

rescanning virtual machines from powershell

Veeam Logoby maverick964_uk » Mon Jul 15, 2013 10:28 am

We have veeam 6.5.
Does anyone know the powershell command to perform storage rediscovery?

Normally in the GUI, you go to "virtual machines", right click "vmware vsphere" and click rescan.
I want to be able to do this from the command line....

thanks
maverick964_uk
Expert
 
Posts: 102
Liked: 3 times
Joined: Thu May 09, 2013 8:57 am
Full Name: Mike Lavery

Re: rescanning virtual machines from powershell

Veeam Logoby v.Eremin » Mon Jul 15, 2013 2:11 pm

Hi, Mike. It seems that there is no such a cmdlet, at least, not that I’m aware of.

Also, could you elaborate on what your specific goal is? Are you’re trying to perform something with newly-added datastore that stays invisible to PS snap-in until the rescan takes place?

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: rescanning virtual machines from powershell

Veeam Logoby maverick964_uk » Tue Jul 16, 2013 3:13 pm

thats interesting....

we have had some issues with the infrastructure therefore we wanted to run a rescan just before backup starts.
Would be a cmdlet to add....
maverick964_uk
Expert
 
Posts: 102
Liked: 3 times
Joined: Thu May 09, 2013 8:57 am
Full Name: Mike Lavery

Re: rescanning virtual machines from powershell

Veeam Logoby v.Eremin » Tue Jul 16, 2013 3:40 pm

The remark regarding newly-added datastore was nothing but an assumption, since I was trying to understand your particular goal, etc.

From my perspective , even without rescanning there are good chances that backup/replication won’t fail, unless there have been dramatic infrastructure changes that resulted in MorefID changes or absence of certain VMs, etc.

Anyway, thanks for the heads-up; much appreciated.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: rescanning virtual machines from powershell

Veeam Logoby maverick964_uk » Thu Jul 18, 2013 8:38 am

many thanks and I appreciate the reply.

It would be good to have a cmdlet to rescan the storage....
Is this something we can request as an enhancement?
maverick964_uk
Expert
 
Posts: 102
Liked: 3 times
Joined: Thu May 09, 2013 8:57 am
Full Name: Mike Lavery

Re: rescanning virtual machines from powershell

Veeam Logoby Vitaliy S. » Thu Jul 18, 2013 1:09 pm

Yes, you can. These forums are always monitored for potential features for the next versions.
Vitaliy S.
Veeam Software
 
Posts: 19545
Liked: 1099 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: rescanning virtual machines from powershell

Veeam Logoby maverick964_uk » Fri Jul 19, 2013 7:51 am

thanks. Would be good to get this feature added...
maverick964_uk
Expert
 
Posts: 102
Liked: 3 times
Joined: Thu May 09, 2013 8:57 am
Full Name: Mike Lavery


Return to PowerShell



Who is online

Users browsing this forum: Bing [Bot] and 7 guests