Start-OBRegistration

Registers the current computer to mob_name_1.

Syntax

Start-OBRegistration
     [-RecoveryService] <CBServiceResource>
     [-Confirm]
     [-WhatIf]

Description

The Start-OBRegistration cmdlet registers the server to mob_name_1. The cmdlet registers the server by uploading a backup certificate to the vault. You can use the Get-OBCertificateListFromLocalStore cmdlet to get the list of certificates from the local computer certificate store.

This cmdlet supports the WhatIf and the Confirm parameters. The cmdlet prompts 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. Specify -Confirm:$FALSE to override the prompt.

ps_mob_user_group_remark

Examples

Example 1: Registers a server

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]

This example starts a computer registration.

Required Parameters

-RecoveryService

Specifies a mob_name_2 recovery agent.

Type:CBServiceResource
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
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.

Type:SwitchParameter
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

None