Export (0) Print
Expand All

Start-OBRegistration

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Start-OBRegistration

Registers the current computer with Windows Azure Backup using the credentials (username and password) created during enrollment.

Syntax

Parameter Set: Default
Start-OBRegistration [-RecoveryService] <CBServiceResource> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Start-OBRegistration cmdlet registers the server with Windows Azure Backup using the credentials (username and password) created during enrollment.

This cmdlet supports WhatIf and Confirm parameters with a high impact. The high impact signifies that the cmdlet will prompt the user for confirmation by default. The WhatIf parameter gives a verbose description of what the cmdlet does without performing any operation. The Confirm parameter specifies whether the cmdlet should prompt the user. Using –Confirm:$FALSE will override the prompt.

To use Windows Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.

Parameters

-RecoveryService<CBServiceResource>

Specifies a Windows Azure Backup recovery agent.


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.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Examples

Example 1: Registers a server

This example starts computer registration.


 

The first command gets the list of certificates from the local computer certificate store, and stores the result in the $Cert variable.


PS C:\> $Cert = Get-OBCertificateListFromLocalStore

 

The second command gets the list of backup vaults that can you use to register the current computer for the fifth certificate stored in $Cert. The command stores the result in the $Item variable.


PS C:\> $Item = Get-OBRecoveryService –Certificate $Cert[4]

 

The third command registers the current computer by using the first certificate stored in $Item.


PS C:\> Start-OBRegistration -RecoveryService $Item[0]

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft