API Reference
Command
Get-CxDisk
Returns physical disk inventory for one or more computers.
Examples
Example 1: Retrieves the local physical disk inventory.
PS>
Get-CxDisk
Example 2: Queries cluster nodes and reviews model and bus information for each disk.
PS>
Get-CxDisk -ComputerName CLUS01,CLUS02 | Select-Object ComputerName,Number,FriendlyName,BusType,PartitionStyle,Size
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-CxDisk [-ComputerName <string[]>] [<CommonParameters>]#Parameters
- ComputerName string[]
- Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.
Outputs
ComputerX.Storage.DiskInfo