I am trying to list all of the driveletters that are connected by iscsi, but I can't seem to find a way to do this.
I am using this to generate a list of drives to backup using ntbackup on an old 2k3 server, and to skip any iscsi drives.
This is in the interim until we can afford Veeam.
Any help is greatly appreciated!
It's tricky to answer without a iscsi target available to me, but would first look into WMIC.
Tell me if you can see any indicator for ISCSI and we can figure out how to skip them. If you don't see anything, check in here.
WMIC VOLUME >> C:\List-All-Volumes.txt