Export (0) Print
Expand All

Get-OBRecoverableSource

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-OBRecoverableSource

Get the list of datasources recoverable from this server or the specified OBBackupServer object.

Syntax

Parameter Set: Default
Get-OBRecoverableSource [[-Server] <CBBackupServer> ] [ <CommonParameters>]




Detailed Description

The Get-OBRecoverableSource cmdlet gets the list of datasources recoverable from this server or the specified OBBackupServer object. This list is then used to get item level recovery.

To use Microsoft Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.

Parameters

-Server<CBBackupServer>

Specifies the server from which data needs to be recovered.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Internal.CloudBackup.Commands.OBRecoverableSource[]

Examples

EXAMPLE 1

This example returns recoverable data sources.


PS C:\> Get-OBRecoverableSource

EXAMPLE 2

This example returns recoverable data sources for alternate server recovery.


PS C:\> $pwd = ConvertTo-SecureString -String "nota5odpass" -AsPlainText -ForcePS C:\> $cred = New-Object -TypeName System.Management.Automation.PsCredential -ArgumentList contoso\johnj99, $pwdPS C:\> Get-OBAlternateBackupServer -Credential $cred | Where-Object -FilterScript {$_.ServerName -Like "*h*"} | Get-OBRecoverableSource –Credential $cred

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft