Remove-DPMDatasourceReplica
Etkin olmayan çoğaltmayı kaldırır.
Syntax
Remove-DPMDatasourceReplica
[-Datasource] <Datasource>
[-Disk]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-DPMDatasourceReplica
[-Datasource] <Datasource>
[-Tape]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-DPMDatasourceReplica
[-Datasource] <Datasource>
[-Online]
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Remove-DPMDatasourceReplica cmdlet'i etkin olmayan bir çoğaltmayı diskten veya banttan kaldırır.
Örnekler
Örnek 1: Veri kaynağı çoğaltmasını kaldırma
PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> $PObjects = Get-DPMDatasource -ProtectionGroup $PGroup
PS C:\> Remove-DPMDatasourceReplica -Datasource $PObjects -Disk
İlk komut, DPM sunucusundan DPMServer02 adlı koruma grubunu alır ve ardından bu grubu $PGroup değişkeninde depolar.
İkinci komut, $PGroup'daki koruma grubundan veri kaynağını alır ve ardından bu veri kaynağını $PObject değişkeninde depolar.
Son komut, $PObjects içindeki veri kaynağının çoğaltmasını diskten kaldırır.
Parametreler
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Datasource
Bu cmdlet'in çoğaltmayı kaldırdığı bir veri kaynağı nesnesi belirtir. Veri kaynağı, Windows işletim sistemi, Microsoft SQL Server veritabanı, Microsoft Exchange Server depolama grubu, Microsoft SharePoint grubu, Microsoft Virtual Machine, System Center 2019 - Data Protection Manager (DPM) veritabanı veya bir koruma grubunun üyesi olan sistem durumu için bir dosya sistemi paylaşımı veya birimi olabilir.
Type: | Datasource |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Disk
Cmdlet'in çoğaltmayı diskten kaldırdığını gösterir.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Online
Veri kaynağının çevrimiçi koruma kullandığını gösterir.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Üzerinde çalıştığınız öğeyi temsil eden bir nesne döndürür. Varsayılan olarak bu cmdlet herhangi bir çıktı üretmez.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Tape
Cmdlet'in çoğaltmayı banttan kaldırdığını gösterir.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |