Start-OBRegistration
Geçerli bilgisayarı Microsoft Azure Backup kaydeder.
Syntax
Start-OBRegistration
[-RecoveryService] <CBServiceResource>
[-Confirm]
[-WhatIf]
Description
Start-OBRegistration cmdlet'i sunucuyu Microsoft Azure Backup kaydeder. Cmdlet, kasaya bir yedekleme sertifikası yükleyerek sunucuyu kaydeder. Yerel bilgisayar sertifika deposundan sertifika listesini almak için Get-OBCertificateListFromLocalStore cmdlet'ini kullanabilirsiniz.
Bu cmdlet , WhatIf ve Confirm parametrelerini destekler.
Cmdlet varsayılan olarak kullanıcıdan onay ister.
WhatIf parametresi, herhangi bir işlem gerçekleştirmeden cmdlet'in ne yaptığını ayrıntılı bir şekilde açıklar.
Confirm parametresi, cmdlet'in kullanıcıya sorup sormayacağını belirtir.
belirt -Confirm:$FALSE
istemini geçersiz kılmak için.
Microsoft Azure Backup cmdlet'lerini kullanmak için kullanıcının korumalı makinede yönetici olması gerekir.
Örnekler
Örnek 1: Sunucuyu kaydeder
The first command gets the list of certificates from the local computer certificate store, and stores the result in the **$Cert** variable.
$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.
$Item = Get-OBRecoveryService -Certificate $Cert[4]
The third command registers the current computer by using the first certificate stored in **$Item**.
Start-OBRegistration -RecoveryService $Item[0]
Bu örnek bir bilgisayar kaydı başlatır.
Parametreler
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RecoveryService
Bir Microsoft Azure Backup kurtarma aracısı belirtir.
Type: | CBServiceResource |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Girişler
None
Çıkışlar
None