Cmdlets > Get-DtImages

Get-DtImages

Returns image information

Syntax

Get-DtImages [-ServiceHost] <Server> [[-ImageIds] <List>] [<CommonParameters>]

Detailed Description

This cmdlet returns DR image information for the specified server.

Parameters

Name Type Description Required Pipeline Input
Service
Host
Server

Specify the server object returned from the New-DtServer cmdlet. For this cmdlet, the -ServiceHost should be your repository server.

true false
ImageIds List

Specify an image GUID or a comma-separated list of image GUIDs. If you have an existing job, you can find the image GUID in JobOptions.ImageProtectionOptions returned from the Get-DtJob cmdlet. If you do not have an existing job, you will need to use this cmdlet to gather all of the image GUIDs available on a repository server and then specify an image GUID or list of image GUIDs from the previous Get-DtImages call.

false false

Outputs

ImageInfo

Examples

$DtServerObjectBeta = New-DtServer -Name beta -UserName domain\administrator -Password password

Get-DtImages -ServiceHost $DtServerObjectBeta

A server object is created for the server beta using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectBeta. The available image information for the server is returned.