Start-TapeDriveCleaning
Starts a clean tape drive job.
Start-TapeDriveCleaning [-TapeDrive] <Drive> [-JobStateChangedEventHandler <JobStateChangedEventHandler>] [<CommonParameters>]
The Start-TapeDriveCleaning cmdlet starts a clean tape drive job
Specifies the tape drive to use.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
0 |
The JobStateChangedEventHandler is used along with the -Async parameter so that the user can be informed of the status of the operation. This is useful when building a GUI using cmdlets. It is not used when working with the DPM Management Shell.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.
For more information, type "Get-Help Start-TapeDriveCleaning -detailed".
For technical information, type "Get-Help Start-TapeDriveCleaning -full".Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.
$DPMLib = Get-DPMLibrary -DPMServerName "TestingServer"
$td = Get-TapeDrive -DPMLibrary $DPMLib
Start-TapeDriveCleaning -TapeDrive $td
This command performs a clean tape drive operation.