Get-ScsiDisks: Combine Physicaldisk and Logicaldisk Objects
Hi there, following function Get-ScsiDisks
retrieves disk details for VMWare Guests or any computer with corresponding SCSI disk details like SCSI ID and SCSI Bus. The function concatenates objects consisting of Win32_DiskDrive
, Win32_LogicalDisk
and Win32_DiskDriveToDiskPartition
using WMI. For WinRM you can use Invoke-Command and inject the script.
|