ONTAP Discussions

how to do lun show -path via API

kbhonagiri
502 Views

Hi All,

 

how do i get information of serial-hex of a lun using API. Essentaily i need to get output  of "lun show -path" using API

 

 

 

kalyan

1 ACCEPTED SOLUTION

AlexDawson
437 Views

Hi there,

 

The API doesn't use the hex serials, so you need to convert it first unfortunately - this post might have some pointers to help - https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Any-way-to-get-lun-serial-number-in-hex-through-powershell/m-p/28647

 

Thanks!

View solution in original post

1 REPLY 1

AlexDawson
438 Views

Hi there,

 

The API doesn't use the hex serials, so you need to convert it first unfortunately - this post might have some pointers to help - https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Any-way-to-get-lun-serial-number-in-hex-through-powershell/m-p/28647

 

Thanks!

Public