![]() |
Get-DtImages |
This cmdlet returns DR image information for the specified server. For this cmdlet, the -ServiceHost should be your repository server.
Get-DtImages [-ImageIds] <List`1> [-ServiceHost] <Server> [<CommonParameters>]
Required? |
false |
Position? |
2 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Required? |
true |
Position? |
1 |
Accept Pipeline Input? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters. |
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