Get-SmCloneJob
Gets information about existing clone jobs.
Syntax
Get-SmCloneJob [-PluginCode] <PluginCode> [-ResourceGroupName] <String> [-Resource] <Hashtable[]>
Detailed Description
Gets and displays information about existing clone jobs based on the plug-in code and the resource group.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
PluginCode |
true |
true (ByPropertyName) |
||
ResourceGroupName |
false |
false |
||
Resource |
false |
false |
Examples
- Example 1: Getting information about the existing clone jobs running at the resource group level. -
Get-SmCloneJob -ResourceGroupName RG1 -PluginCode SCSQL
This example syntax retrieves information about the existing clone jobs running at the resource group level.
CloneJobName ResourceGroupName ResourceName
------------ ----------------- ------------
CLMJob RG1
- Example 2: Getting information about the existing clone jobs running at the resource level. -
Get-SmCloneJob -Resource @{"Host"="R708202074BV1.hnk2.com"; "Type"="SQL Database";"Names"="R708202074BV1\SQL2019\MDML_DB1"} -PluginCode SCSQL
This example syntax gets information about the existing clone jobs running at the resource level.
CloneJobName ResourceGroupName ResourceName
------------ ----------------- ------------
cl2 R708202074BV1\SQL2019\MDML_DB1