Click or drag to resize

Get-DtImages

This cmdlet returns DR image information for the specified server. For this cmdlet, the -ServiceHost should be your repository server.

Syntax

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

Parameters
-ImageIds<List`1>

Specify an image GUID or a comma-separated list of 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.

Required?

false

Position?

2

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServiceHost<Server>

Specify the server object returned from the New-DtServer cmdlet.

Required?

true

Position?

1

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

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

Examples

------------------EXAMPLE------------------

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.

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

Get-DtImages -ServiceHost $DtServerObjectBeta