Trying to figure out the capabilities (How do I use it) of the Get-NcLun -Query command. My goal is to match/find a lun by specifying the serial number. I can't figure the command line syntax for this -Query option. Is anyone familiar with the correct syntax? Thanks
For advanced queries, provide a LunInfo object with various fields set to indicate which records to retrieve.
Other fields should remain set to null. Use "Get-NcLun -Template" to get the initially empty LunInfo object.
You can use the -Template switch on Get-NcLun to get an empty LunInfo object. Then you set the fields to the values you want to query on the LunInfo object, leaving the other fields null. For example, to get a specific LUN by its serial number: