API Reference
Command
Get-CxLogicalDisk
Returns logical disk and volume information for one or more computers.
Examples
Example 1: Lists local logical disks and free space.
PS>
Get-CxLogicalDisk | Select-Object DeviceID,VolumeName,FileSystem,Size,FreeSpace
Example 2: Queries multiple file servers to review remaining space on fixed volumes.
PS>
Get-CxLogicalDisk -ComputerName FS01,FS02 | Where-Object DriveType -eq 'Fixed'
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-CxLogicalDisk [-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.LogicalDiskInfo