<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to get LUNID in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-get-LUNID/m-p/104087#M4277</link>
    <description>&lt;P&gt;Try to start with something like this (for 7-mode):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NaLun | ? {$_.Mapped -eq $true} | % {Get-NaLunMap -path $_.Path} | ft Path,InitiatorGroupType,ALUA,InitiatorGroupName,LunId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also have a look at "Get-Member", to see all properties of "NaLunMap" objects:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NaLun | ? {$_.Mapped -eq $true} | % {Get-NaLunMap -path $_.Path} | gm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For C-Mode something like this might be sufficient:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NcLunMap | ft Vserver,Path,InitiatorGroup,LunId&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2015 21:06:34 GMT</pubDate>
    <dc:creator>mark_schuren</dc:creator>
    <dc:date>2015-05-04T21:06:34Z</dc:date>
    <item>
      <title>how to get LUNID</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-get-LUNID/m-p/104077#M4271</link>
      <description>&lt;P&gt;how can I get the lun ID of each lun that is mapped to each initiator group I created with the powershell toolkit? It will be similar to the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lun show -m command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in powershell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:23:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-get-LUNID/m-p/104077#M4271</guid>
      <dc:creator>TDUBB1234</dc:creator>
      <dc:date>2025-06-05T04:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to get LUNID</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-get-LUNID/m-p/104087#M4277</link>
      <description>&lt;P&gt;Try to start with something like this (for 7-mode):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NaLun | ? {$_.Mapped -eq $true} | % {Get-NaLunMap -path $_.Path} | ft Path,InitiatorGroupType,ALUA,InitiatorGroupName,LunId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also have a look at "Get-Member", to see all properties of "NaLunMap" objects:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NaLun | ? {$_.Mapped -eq $true} | % {Get-NaLunMap -path $_.Path} | gm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For C-Mode something like this might be sufficient:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NcLunMap | ft Vserver,Path,InitiatorGroup,LunId&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 21:06:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-get-LUNID/m-p/104087#M4277</guid>
      <dc:creator>mark_schuren</dc:creator>
      <dc:date>2015-05-04T21:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to get LUNID</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-get-LUNID/m-p/104091#M4280</link>
      <description>&lt;P&gt;Thank you. That works great&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 21:41:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/how-to-get-LUNID/m-p/104091#M4280</guid>
      <dc:creator>TDUBB1234</dc:creator>
      <dc:date>2015-05-04T21:41:39Z</dc:date>
    </item>
  </channel>
</rss>

