Set-VBRRestoreVM Output in PowerShell

PowerShell script exchange

Set-VBRRestoreVM Output in PowerShell

Veeam Logoby ollschnoll » Wed Mar 24, 2010 3:48 pm


I'm trying to make a website where users can restore their vms. Since the Set-VBRRestoreVM cmdlet uses Write-Progress I can't catch the status of the restore and display it on the website. Is it possible to execute that command with a standard output stream?

Btw, this cmdlet doesn't seem to work when executing in a remote PowerShell session using Enter-PSSession (returns "Set-VBRRestoreVM : TextFromTar failed")
Posts: 1
Liked: never
Joined: Tue Jan 19, 2010 3:12 pm

Re: Set-VBRRestoreVM Output in PowerShell

Veeam Logoby Gostev » Wed Mar 24, 2010 10:43 pm

Hello, I don't believe you can do this with PowerShell cmdlets (execute them with standard output streams), but it may worth checking on some PowerShell community as there might be workarounds for this.

As far as I know, remote execution is only supported with the newest PowerShell 2.0. Our PowerShell snap-in was designed and released before PowerShell 2.0 became available, so it is quite possible that some new functionality does not work (we did not test against 2.0).
Veeam Software
Posts: 21396
Liked: 2350 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Return to PowerShell

Who is online

Users browsing this forum: No registered users and 5 guests