Start-DPMCloudRegistration
Start-DPMCloudRegistration
Registers a DPM server with Azure Online Backup service to enable online protection.
Syntax
Parameter Set: CloudRegistrationByServiceResource
Start-DPMCloudRegistration [[-DPMServerName] <String> ] [-RecoveryService] <CloudServiceResource> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: CloudRegistrationByVaultCredentialFile
Start-DPMCloudRegistration [[-DPMServerName] <String> ] [-VaultCredentialsFilePath] <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Start-DPMCloudRegistration cmdlet registers a System Center 2012 – Data Protection Manager (DPM) server with Azure Online Backup service to enable online protection.
Parameters
-DPMServerName<String>
Specifies the name of the DPM server that this cmdlet registers.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-RecoveryService<CloudServiceResource>
Specifies the Cloud recovery resource for the backup vault on Azure Online Backup.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
-VaultCredentialsFilePath<String>
Specifies the vault credential file path for the Azure Online Backup. Specify a network path for a remote user interface .
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Register a server with Azure Online Backup using cloud recovery source
The first command gets the cloud service resource from the vault credential file.
The second command registers the DPM server named TestingServer with Azure Online Backup by using the cloud service resource.
PS C:\> $ContosoResource = Get-DPMCloudRecoveryService -DPMServerName "TestingServer" -VaultCredentialsFilePath "DPMTESTVault_Friday, September 5, 2014.VaultCredentials"
PS C:\> Start-DPMCloudRegistration -DPMServerName "TestingServer" -RecoveryService $ContosoResource
Example 2: Register a server with Azure Online Backup using vault credential file
This command registers a DPM server named TestingServer with Azure Online Backup by using vault credential file C:\DPMTESTVault_Friday, September 5, 2014.VaultCredentials.
PS C:\> Start-DPMCloudRegistration -DPMServerName "TestingServer" -VaultCredentialsFilePath "C:\DPMTESTVault_Friday, September 5, 2014.VaultCredentials"