PowerShell script exchange
Post Reply
vbogda
Novice
Posts: 8
Liked: never
Joined: Dec 11, 2014 2:19 pm
Full Name: Val Bogda
Contact:

Stopping Start-VBRRecoverVM

Post by vbogda »

Hi,

I can't seem to be able to find an equivalent to Stop-VBRJob for the restore command. Is this supported?

Seems like I can do it through the GUI - there's a 'Cancel restore task' link/button thing.

Thanks
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Stopping Start-VBRRecoverVM

Post by veremin »

What type of restore you're talking about? You can get a restore session via Get-VBRRestoreSession and then use one of stop commandlets, like Stop-VBRInstantRecovery, Start-VBRWindowsFileRestore, etc. Thanks.
vbogda
Novice
Posts: 8
Liked: never
Joined: Dec 11, 2014 2:19 pm
Full Name: Val Bogda
Contact:

Re: Stopping Start-VBRRecoverVM

Post by vbogda »

I start the restore with the Start-VBRRecoverVM command.

I can see the session in the output of Get-VBRRestoreSession and this reports its type as 'Full VM Restore'.

I know about the other Stop-VBR... commands. The problem is I can't find a Stop-VBRRestoreVM or similar.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Stopping Start-VBRRecoverVM

Post by veremin »

You mean Start-VBRRestoreVM, ok. Currently, full VM Restore Sessions are not listed by Get-VBRRestoreSession. Neither there is a Stop-VBRRestoreVM commandlet.

We'll think about adding those capabilities to our PS snap-in, though. Chances are, one of the upcoming versions will be able to boast with it.

Thanks.
vbogda
Novice
Posts: 8
Liked: never
Joined: Dec 11, 2014 2:19 pm
Full Name: Val Bogda
Contact:

Re: Stopping Start-VBRRecoverVM

Post by vbogda »

Ok, that explains it. I'll be looking forward to the version that includes it.

Thank you
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Stopping Start-VBRRecoverVM

Post by veremin »

I've tracked this request. We'll consider adding this functionality down the road. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests