Get-ScsiDisks: Combine PhysicalDisk and LogicalDisk objects
3667
post-template-default,single,single-post,postid-3667,single-format-standard,ajax_fade,page_not_loaded,,side_area_uncovered_from_content,qode-theme-ver-15.0,qode-theme-bridge,wpb-js-composer js-comp-ver-5.4.7,vc_responsive
 

Get-ScsiDisks: Combine PhysicalDisk and LogicalDisk objects

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.

Output:

No Comments

Sorry, the comment form is closed at this time.

%d bloggers like this: