Get-DPMDiskStorage
Retrieves list of disks and volumes on a DPM server.
Get-DPMDiskStorage
[[-DPMServerName] <String>]
[-All]
[-OutputAsStorageResource]
[<CommonParameters>]
Get-DPMDiskStorage
[[-DPMServerName] <String>]
[-All]
[-Volumes]
[-OutputAsStorageResource]
[<CommonParameters>]
The Get-DPMDiskStorage cmdlet gets the disks or volumes that can be added to the storage pool on a given System Center - Data Protection Manager (DPM) server. A storage pool on a DPM server consists of a set of disks where the server stores replicas, shadow copies, and transfer logs for protected data sources and a set of ReFS volumes where the server stores replica VHDs.
PS C:\>Get-DPMDiskStorage -DPMServerName "TestingServer" -All
This command returns all disks that are locally attached to the DPM server named TestingServer. This includes the disks with system and boot partitions.
PS C:\>Get-DPMDiskStorage -DPMServerName "TestingServer"
This command returns the disks that are locally attached to the DPM server named TestingServer and can be used by the DPM server. This excludes the disks with system and boot partitions, as well as virtual disks
PS C:\>Get-DPMDiskStorage -DPMServerName "TestingServer" -Volumes -All
This command returns all the basic volumes that are present on the DPM server named TestingServer. This excludes the system and reserved volumes, as well as dynamic volumes.
PS C:\>Get-DPMDiskStorage -DPMServerName "TestingServer" -Volumes
This command returns the volumes that are added to storage pool on the DPM server named TestingServer.
Indicates that cmdlet will return all local disks or volumes and not filter out any disk or volume that is not in DPM storage pool. If this switch is not specified, the cmdlet will either return the disks that can be added to storage pool, or the volumes that are already added to storage pool based on the Volumes switch.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of a DPM server for which this cmdlet gets disks or volumes.
Type: | String |
Aliases: | ComputerName, CN |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that the output should be of type StorageResource class instead of Disk or VolumeStorage class. This switch parameter is used by the DPM UI.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indicates that the cmdlet retrieves only volumes. If this paramter is not specified, the cmdlet only gets disks.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |