I need to get SAN disk details on server and if no external LUN's attached the script should output message 'No external disks found'
I have tried WMI class win32_volume with filter for drivetype eq '3' but it just gets me local disk.
try Get-SBDisk function of the SB-Tools module (requires PS 5, Install-Module SB-Tools -Force). It outputs DriveLetterorMountPoint property. Are SAN disks mounted to a folder or a drive letter?
How are SAN volumes connected? iSCSI?