PowerShell script exchange
Post Reply
maverick964_uk
Expert
Posts: 102
Liked: 3 times
Joined: May 09, 2013 8:57 am
Full Name: Mike Lavery
Contact:

rescanning virtual machines from powershell

Post by maverick964_uk »

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
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: rescanning virtual machines from powershell

Post by veremin »

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.
maverick964_uk
Expert
Posts: 102
Liked: 3 times
Joined: May 09, 2013 8:57 am
Full Name: Mike Lavery
Contact:

Re: rescanning virtual machines from powershell

Post by maverick964_uk »

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....
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: rescanning virtual machines from powershell

Post by veremin »

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.
maverick964_uk
Expert
Posts: 102
Liked: 3 times
Joined: May 09, 2013 8:57 am
Full Name: Mike Lavery
Contact:

Re: rescanning virtual machines from powershell

Post by maverick964_uk »

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?
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: rescanning virtual machines from powershell

Post by Vitaliy S. »

Yes, you can. These forums are always monitored for potential features for the next versions.
maverick964_uk
Expert
Posts: 102
Liked: 3 times
Joined: May 09, 2013 8:57 am
Full Name: Mike Lavery
Contact:

Re: rescanning virtual machines from powershell

Post by maverick964_uk »

thanks. Would be good to get this feature added...
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests