Disable-DPMTapeDrive
Letilt egy szalagos meghajtót a DPM-kódtárban.
Syntax
Disable-DPMTapeDrive
[-TapeDrive] <Drive[]>
[-PassThru]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
A Disable-DPMTapeDrive parancsmag letilt egy szalagos meghajtót a System Center – Data Protection Manager (DPM) tárban.
Példák
1. példa: Szalagos meghajtó letiltása egy tárban
PS C:\>$DpmLibrary = Get-DPMLibrary -DPMServerName "Contoso-DPMServer"
PS C:\> $DpmTapeDrive = Get-DPMTapeDrive -DPMLibrary $DpmLibrary
PS C:\> Disable-DPMTapeDrive -TapeDrive $DpmTapeDrive
Az első parancs a Get-DPMLibrary parancsmagot használja a kódtár lekéréséhez, majd a $DpmLibrary változóban tárolja.
A második parancs a Get-DPMTapeDrive parancsmaggal szerzi be a szalagokat a tárba, majd a $DpmTapeDrive változóban tárolja őket.
A harmadik parancs letiltja a szalagos meghajtókat a $DpmTapeDrive.
Paraméterek
-Confirm
Jóváhagyást kér a parancsmag futtatása előtt.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
Egy objektumot ad vissza, amely azt az elemet jelöli, amellyel dolgozik. Alapértelmezés szerint ez a parancsmag nem ad kimenetet.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TapeDrive
A parancsmag által letiltott szalagos meghajtók tömbje.
Type: | Drive[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Bemutatja, mi történne a parancsmag futtatásakor. A parancsmag nem fut.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |