This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VBRRecoveryMediaTarget

Short Description

Returns available bootable media for creating Veeam Recovery Media.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides 3 parameter sets.

  • For getting all available bootable media:

Get-VBRRecoveryMediaTarget  [<CommonParameters>]

  • For getting available bootable media by name:

Get-VBRRecoveryMediaTarget [-Name <string[]>]  [<CommonParameters>]

  • For getting available bootable media by type (RemovableDevice/OpticalDrive):

Get-VBRRecoveryMediaTarget [-Type <VBRRecoveryMediaType[]> {RemovableDevice | OpticalDrive}] [<CommonParameters>]

Detailed Description

This cmdlet returns available bootable media for creating Veeam Recovery Media. You can get the list of all media or search for instances directly by name or type.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies the array of bootable media names. The cmdlet will return available bootable media with these names.

False

Named

True (ByProperty
Name)

True

Type

Specifies the array of bootable media types:

  • RemovableDevice: removable storage devices
  • OpticalDrive: CD, DVD and BD drives

The cmdlet will return available bootable media of these types.

False

Named

True (ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRRecoveryMediaTarget[]

Example 1

This command returns all available bootable media.

Get-VBRRecoveryMediaTarget

Example 2

This command returns all attached removable storage devices that can be used for creating Veeam Recovery Media.

Get-VBRRecoveryMediaTarget -Type RemovableDevice