Remove-DPMDisk

Remove-DPMDisk

Removes a disk from the storage pool.

Syntax

Remove-DPMDisk [-DPMDisk] <Disk> [<CommonParameters>]

Detailed Description

The Remove-DPMDisk cmdlet removes a disk from the storage pool.

Parameters

-DPMDisk

A disk that is part of a storage pool.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

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.

Notes

  • For more information, type "Get-Help Remove-DPMDisk -detailed".
    For technical information, type "Get-Help Remove-DPMDisk -full".

    Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

$DPMDisk = Get-DPMDisk -DPMServerName TestingServer 
Remove-DPMDisk -DPMDisk $DPMDisk

This command removes the disk object in $DPMDisk from the server.