<?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 establish iscsi sessions using powershell? in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-establish-iscsi-sessions-using-powershell/m-p/37380#M1709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Connect-NaController TS60808&lt;/P&gt;&lt;P&gt;New-NaAggr bigaggr -Use64Bit -DiskCount 32&lt;/P&gt;&lt;P&gt;New-NaVol bigvol -Aggregate bigaggr 4t&lt;/P&gt;&lt;P&gt;Set-NaSnapshotReserve bigvol 0&lt;/P&gt;&lt;P&gt;New-NaLun -Path /vol/bigvol/biglun -Size 3.5t -Type hyper_v&lt;/P&gt;&lt;P&gt;Add-NaHostIscsiTargetPortal&lt;/P&gt;&lt;P&gt;$session = Get-NaHostIscsiSession -TargetName (Get-NaIscsiNodeName)&lt;/P&gt;&lt;P&gt;if ($session -eq $null) { Get-NaHostIscsiTarget (Get-NaIscsiNodeName) | Connect-NaHostIscsiTarget }&lt;/P&gt;&lt;P&gt;New-NaIgroup bigigroup iscsi windows&lt;/P&gt;&lt;P&gt;Get-NaHostIscsiAdapter | Add-NaIgroupInitiator bigigroup&lt;/P&gt;&lt;P&gt;Add-NaLunMap /vol/bigvol/biglun bigigroup&lt;/P&gt;&lt;P&gt;Start-NaHostDiskRescan&lt;/P&gt;&lt;P&gt;Wait-NaHostDisk /vol/bigvol/biglun TS60808 | New-NaHostVolume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the "Host-side iSCSI &amp;amp; FC utilities" section at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="PowerShell"&gt;&lt;STRONG style=": ; line-height: 1.5em; color: red; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt; &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-10684" target="_blank"&gt;https://communities.netapp.com/docs/DOC-10684&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="PowerShell"&gt;&lt;STRONG style=": ; color: red; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 17:58:47 GMT</pubDate>
    <dc:creator>vinith</dc:creator>
    <dc:date>2013-04-10T17:58:47Z</dc:date>
    <item>
      <title>How to establish iscsi sessions using powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-establish-iscsi-sessions-using-powershell/m-p/37375#M1708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Anyone have an example of establishing iscsi sessions using powershell?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:05:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-establish-iscsi-sessions-using-powershell/m-p/37375#M1708</guid>
      <dc:creator>DAVID_PUCKETT_KAREO</dc:creator>
      <dc:date>2025-06-05T06:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to establish iscsi sessions using powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-establish-iscsi-sessions-using-powershell/m-p/37380#M1709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Connect-NaController TS60808&lt;/P&gt;&lt;P&gt;New-NaAggr bigaggr -Use64Bit -DiskCount 32&lt;/P&gt;&lt;P&gt;New-NaVol bigvol -Aggregate bigaggr 4t&lt;/P&gt;&lt;P&gt;Set-NaSnapshotReserve bigvol 0&lt;/P&gt;&lt;P&gt;New-NaLun -Path /vol/bigvol/biglun -Size 3.5t -Type hyper_v&lt;/P&gt;&lt;P&gt;Add-NaHostIscsiTargetPortal&lt;/P&gt;&lt;P&gt;$session = Get-NaHostIscsiSession -TargetName (Get-NaIscsiNodeName)&lt;/P&gt;&lt;P&gt;if ($session -eq $null) { Get-NaHostIscsiTarget (Get-NaIscsiNodeName) | Connect-NaHostIscsiTarget }&lt;/P&gt;&lt;P&gt;New-NaIgroup bigigroup iscsi windows&lt;/P&gt;&lt;P&gt;Get-NaHostIscsiAdapter | Add-NaIgroupInitiator bigigroup&lt;/P&gt;&lt;P&gt;Add-NaLunMap /vol/bigvol/biglun bigigroup&lt;/P&gt;&lt;P&gt;Start-NaHostDiskRescan&lt;/P&gt;&lt;P&gt;Wait-NaHostDisk /vol/bigvol/biglun TS60808 | New-NaHostVolume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the "Host-side iSCSI &amp;amp; FC utilities" section at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="PowerShell"&gt;&lt;STRONG style=": ; line-height: 1.5em; color: red; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt; &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-10684" target="_blank"&gt;https://communities.netapp.com/docs/DOC-10684&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="PowerShell"&gt;&lt;STRONG style=": ; color: red; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 17:58:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-establish-iscsi-sessions-using-powershell/m-p/37380#M1709</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-04-10T17:58:47Z</dc:date>
    </item>
  </channel>
</rss>

