Get-OBRecoverableSource

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.

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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. 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

Community Additions

ADD
Show: