Skip to content

Instantly share code, notes, and snippets.

@DyegoCosta
Last active December 11, 2015 05:09
Show Gist options
  • Save DyegoCosta/4550444 to your computer and use it in GitHub Desktop.
Save DyegoCosta/4550444 to your computer and use it in GitHub Desktop.
$sources = Get-OBRecoverableSource
$RP = Get-OBRecoverableItem -Source $sources[0]
$RO = New-OBRecoveryOption -overwritetype overwrite -DestinationPath C:\\Restauracao
Start-OBRecovery -RecoverableItem $RP -RecoveryOption $RO -Async
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment