I’m no PowerShell pro, but most cmdlets only return a fraction of the data they could return. Couldn’t you pipe `Select-Object -Property *` to see all properties of the disks and then compare some output from the all properties, like `Location`, to verify the correct drives? I don’t have iSCSI drives to test if this will work or not.
Later,
Matt Helton
(he/him/his)
Assistant System Administrator
Library Information Technology Services
Milner Library
Illinois State University
From: ntpowe...@googlegroups.com <ntpowe...@googlegroups.com>
On Behalf Of Mike Leone
Sent: Thursday, January 15, 2026 14:06
To: NTPowershell Mailing List <ntpowe...@googlegroups.com>
Subject: [ntpowershell] Working with iSCSI
|
This message originated from outside of the Illinois State University email system. Learn why this is important |
--
You received this message because you are subscribed to the Google Groups "ntpowershell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ntpowershell...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/ntpowershell/CAHBr%2B%2Bg2sUJ1v61GYD59gOUiCTgx3en%3DmeRS7aQNXhiOXTOmTA%40mail.gmail.com.
I’m no PowerShell pro, but most cmdlets only return a fraction of the data they could return. Couldn’t you pipe `Select-Object -Property *` to see all properties of the disks and then compare some output from the all properties, like `Location`, to verify the correct drives?
I don’t have iSCSI drives to test if this will work or not.