Start-DPMCloudUnregistration
Unregisters a DPM server from Windows Azure Online Backup service.
Parameter Set: Default
Start-DPMCloudUnregistration [[-DPMServerName] <String> ] [-Credential] <PSCredential> [-Confirm] [-WhatIf] [ <CommonParameters>]
The Start-DPMCloudUnregistration cmdlet unregisters a System Center 2012 – Data Protection Manager (DPM) server from the Windows Azure Online Backup service. The cmdlet deletes all online data and frees up storage space that the DPM server used.
Specifies the user name and password for the administrator account of the Windows Azure Online Backup subscription.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
Specifies the name of the DPM server.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
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 |
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).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
This example unregisters a DPM server from Windows Azure Online Backup.
The first command converts the string myPassword to a secure string and assigns the secure string to the variable named $Secpasswd.
The second command creates a new PSCredential object from the username sjones@contoso.com and the secure password in $Secpasswd, then assigns the object to the variable named $Mycreds.
The third command unregisters the DPM server named TestingServer from the Windows Azure Online Backup service by using the credential in $Mycreds.
PS C:\> $Secpasswd = ConvertTo-SecureString "myPassword" -AsPlainText -Force
PS C:\> $Mycreds = New-Object System.Management.Automation.PSCredential ("sjones@contoso.com", $Secpasswd)
PS C:\> Start-DPMCloudUnregistration -DPMServerName "TestingServer" -Credential $Mycreds