PowerShell script exchange
Post Reply
MonahovAA
Lurker
Posts: 2
Liked: never
Joined: Aug 05, 2013 9:28 am
Full Name: Alex Monahov
Contact:

Remove-VBRRestoreSession (obsolete)

Post by MonahovAA »

Hi.

I have "ApplicationRestore - Exchange_item_restore" session initialized by user

User can forget to close his session after restore. I admin and i whant to close it by shell.

Code: Select all

Get-VBRRestoreSession | Where {$_.State -eq "Working"} | Remove-VBRRestoreSession
But "Remove-VBRRestoreSession" -> obsolete. What i need to use instead of this cmdlet?
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Remove-VBRRestoreSession (obsolete)

Post by veremin »

You should use Stop-VBRExchangeItemRestoreSession cmdlet instead. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests