<?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: PowerCLI to setup hosts networking and storage ready for iSCSI LUNS in Array Setup and Networking</title>
    <link>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982319#M333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G'day Dean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a similar script a few months back, so I'll put a couple of comments below as to where mine differed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you get the iSCSI HBA settings twice, which probably isn't needed&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;$HBA = Get-VMHostHba -VMHost $VMHost -Type iSCSI | %{$_.Device}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;$hbahost = get-vmhost $VMhost | get-vmhosthba -type iscsi&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this particular line, the server could have additional hardware iSCSI HBAs, so I there in a where-object to make sure it was the software adapter:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;$hbahost = Get-VMHostHba -VMHost $VMHost -Type iScsi | Where-Object {$_.Model -eq "iSCSI Software Adapter"}&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't recall if Nimble Connection Manager (NCM) automatically adjusts the timeout values on the iSCSI software Adapter. In our environment (long story), some of our hosts connecting to Nimble Storage are using hardware adapter and some are using software adapter. Nimble best practice is to set the iSCSI Login Timeout, Noop Timout and Noop Interval to 30 seconds each, which can be done with the following as you have already imported esxcli:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'LoginTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hba&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;host&lt;/SPAN&gt;.device,$false,'NoopOutTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hba&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;host&lt;/SPAN&gt;.device,$false,'NoopOutInterval','30')&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I was making this change to production servers as we were migrating from an old SAN to the Nimble storage, I also decided to place the host into maintenance mode before making these changes (just in case). Also I believe that the changes to the timeouts above require a reboot to apply, so I incorporated a host reboot into the script as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thing I did, was instead of having to modify the values below, I created a CSV file where I could put the values, and then just import the CSV at the start of the script and run a foreach loop to modify each host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've taken your script and added my suggestions above, as well as placed it in a foreach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CSV would look something like this, obviously with extra rows with specific info per host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1186px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="191"&gt;hostname&lt;/TD&gt;&lt;TD width="191"&gt;Portgroup1&lt;/TD&gt;&lt;TD width="191"&gt;Portgroup2&lt;/TD&gt;&lt;TD width="64"&gt;Uplink1&lt;/TD&gt;&lt;TD width="64"&gt;Uplink2&lt;/TD&gt;&lt;TD width="97"&gt;IP1&lt;/TD&gt;&lt;TD width="97"&gt;IP2&lt;/TD&gt;&lt;TD width="97"&gt;VMK1Number&lt;/TD&gt;&lt;TD width="97"&gt;VMK2Number&lt;/TD&gt;&lt;TD width="97"&gt;iSCSITarget&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Server1&lt;/TD&gt;&lt;TD&gt;iSCSI-Nimble1&lt;/TD&gt;&lt;TD&gt;iSCSI-Nimble2&lt;/TD&gt;&lt;TD&gt;vmnic6&lt;/TD&gt;&lt;TD&gt;vmnic7&lt;/TD&gt;&lt;TD&gt;172.17.248.18&lt;/TD&gt;&lt;TD&gt;172.17.248.19&lt;/TD&gt;&lt;TD&gt;vmk1&lt;/TD&gt;&lt;TD&gt;vmk2&lt;/TD&gt;&lt;TD&gt;172.17.248.249&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the script is below. I haven't actually tested it but I've read over it and I think I have all of the variables lined up correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;$HostData = import-csv C:\Scripts\Nimble_vSwitch.csv&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;foreach ($Host in $HostData){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Place Host in maintenance mode&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Set-VMHost -VMHost $Host.hostname -State Maintenance&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#create vSwitch2 for storage, add vmnics, add two vmkernels with Storage IPs, setup NIC teaming (based on the fact you probably have vSwitch0 for mgmt and vSwitch1 for VM traffic)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$vs2 = New-VirtualSwitch -VMHost $Host.hostname -Name vSwitch2 -Nic $Host.Uplink1,$Host.Uplink2 -Mtu 9000 -NumPorts 120&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;New-VMHostNetworkAdapter -VMhost $Host.hostname -virtualswitch $vs2 -portgroup $host.Portgroup1 -ip $Host.IP1 -subnetmask 255.255.255.0 -Mtu 9000&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;New-VMHostNetworkAdapter -VMhost $Host.hostname -virtualswitch $vs2 -portgroup $host.Portgroup2 -ip $Host.IP2 -subnetmask 255.255.255.0 -Mtu 9000&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Get-VirtualPortGroup -VMhost $Host.hostname -virtualswitch $vs2 -Name $Host.IP1 | Get-NicTeamingPolicy | Set-NicTeamingPolicy -MakeNicActive $Host.Uplink1 -MakeNicUnused $Host.Uplink2&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Get-VirtualPortGroup -VMhost $Host.hostname -virtualswitch $vs2 -Name $Host.IP2 | Get-NicTeamingPolicy | Set-NicTeamingPolicy -MakeNicActive $Host.Uplink2 -MakeNicUnused $Host.Uplink1&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Create Software iSCSI Adapter&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;get-vmhoststorage $Host.hostname | set-vmhoststorage -softwareiscsienabled $True&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Get Software iSCSI adapter HBA number and put it into an array&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$hbahost = Get-VMHostHba -VMHost $Host.hostname -Type iScsi | Where {$_.Model -eq "iSCSI Software Adapter"}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Use ESXCLI to create the iSCSI Port binding in the iSCSI Software Adapter&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli = Get-EsxCli -VMhost $Host.hostname&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$Esxcli.iscsi.networkportal.add($hbahost.device, $Null, $Host.vmk1number)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$Esxcli.iscsi.networkportal.add($hbahost.device, $Null, $Host.vmk2number)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Using esxcli, configure the LoginTimeout, NoopTimeout and NoopInterval values in seconds&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'LoginTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'NoopOutTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'NoopOutInterval','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Setup the Discovery iSCSI IP addresses on the iSCSI Software Adapter&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;new-iscsihbatarget -iscsihba $hbahost -address $Host.iSCSITarget&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Restart the ESXi Host&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Restart-VMHost -VMHost $Host.hostname -Confirm:$false&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If time permits I was hoping to build this into a function so then someone could just run a cmdlet such as Create-NimblevSwitch with the various parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 21:20:37 GMT</pubDate>
    <dc:creator>matt_allford68</dc:creator>
    <dc:date>2016-01-27T21:20:37Z</dc:date>
    <item>
      <title>PowerCLI to setup hosts networking and storage ready for iSCSI LUNS</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982318#M332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am by no means a scripting person, but the other day I had quite a few greenfield hosts to deploy, so I decided to use powercli to make life easier, and do the job quicker. Admittedly it took longer for me to actually find all the commands, but still, they can be used in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where in red you need to edit to fit your environment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;#Setup which host to target &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr" style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #808080; font-family: arial, helvetica, sans-serif; line-height: 1.5em;"&gt;$VMhost = &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; line-height: 1.5em; color: #ff0000;"&gt;'hostname'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;#create vSwitch2 for storage, add vmnics, add two vmkernels with Storage IPs, setup NIC teaming (based on the fact you probably have vSwitch0 for mgmt and vSwitch1 for VM traffic)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$vs2 = get-vmhost $VMhost | new-virtualswitch -Name vSwitch2 -Nic '&lt;SPAN style="color: #ff0000;"&gt;vmnic2&lt;/SPAN&gt;','&lt;SPAN style="color: #ff0000;"&gt;vmnic5&lt;/SPAN&gt;' -Mtu 9000 -NumPorts 120&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;New-VMHostNetworkAdapter -VMhost $VMhost -virtualswitch $vs2 -portgroup &lt;SPAN style="color: #ff0000;"&gt;iSCSI_ESX_01&lt;/SPAN&gt; -ip &lt;SPAN style="color: #ff0000;"&gt;IP_ADDR&lt;/SPAN&gt; -subnetmask &lt;SPAN style="color: #ff0000;"&gt;SUBNET_MASK&lt;/SPAN&gt; -Mtu 9000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt; line-height: 1.5em;"&gt;New-VMHostNetworkAdapter -VMhost $VMhost -virtualswitch $vs2 -portgroup &lt;SPAN style="color: #ff0000;"&gt;iSCSI_ESX_02&lt;/SPAN&gt; -ip &lt;SPAN style="color: #ff0000;"&gt;IP_ADDR&lt;/SPAN&gt; -subnetmask &lt;SPAN style="color: #ff0000;"&gt;SUBNET_MASK&lt;/SPAN&gt; -Mtu 9000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt; line-height: 1.5em;"&gt;Get-VirtualPortGroup -VMhost $host -virtualswitch $vs2 -Name &lt;SPAN style="color: #ff0000;"&gt;iSCSI_ESX_01&lt;/SPAN&gt; | Get-NicTeamingPolicy | Set-NicTeamingPolicy -MakeNicActive &lt;SPAN style="color: #ff0000;"&gt;vmnic2&lt;/SPAN&gt; -MakeNicUnused &lt;SPAN style="color: #ff0000;"&gt;vmnic5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt; line-height: 1.5em;"&gt;Get-VirtualPortGroup -VMhost $host -virtualswitch $vs2 -Name &lt;SPAN style="color: #ff0000;"&gt;iSCSI_ESX_02&lt;/SPAN&gt; | Get-NicTeamingPolicy | Set-NicTeamingPolicy -MakeNicActive &lt;SPAN style="color: #ff0000;"&gt;vmnic5&lt;/SPAN&gt; -MakeNicUnused &lt;SPAN style="color: #ff0000;"&gt;vmnic2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;#Create Software iSCSI Adapter&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;get-vmhoststorage $VMhost | set-vmhoststorage -softwareiscsienabled $True&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;#Get Software iSCSI adapter HBA number and put it into an array&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$HBA = Get-VMHostHba -VMHost $VMHost -Type iSCSI | %{$_.Device}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;#Set your VMKernel numbers, Use ESXCLI to create the iSCSI Port binding in the iSCSI Software Adapter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$vmk1number = &lt;SPAN style="color: #ff0000;"&gt;'vmk1'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$vmk2number = &lt;SPAN style="color: #ff0000;"&gt;'vmk2'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$esxcli = Get-EsxCli -VMhost $VMhost&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$Esxcli.iscsi.networkportal.add($HBA, $Null, $vmk1number)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$Esxcli.iscsi.networkportal.add($HBA, $Null, $vmk2number)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;#Setup the Discovery iSCSI IP addresses on the iSCSI Software Adapter&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;$hbahost = get-vmhost $VMhost | get-vmhosthba -type iscsi&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt; color: #808080;"&gt;new-iscsihbatarget -iscsihba $hbahost -address &lt;SPAN style="color: #ff0000;"&gt;IP_ADDR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;#Rescan the HBA to discover any storage&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;get-vmhoststorage $VMhost -rescanallhba -rescanvmfs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;If anyone wants to improve the above, reach out, I put this together in an afternoon/evening during the install I was on. So it was rushed and best effort. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;This will also appear on my blog as well &lt;A href="http://www.educationalcentre.co.uk/"&gt;www.educationalcentre.co.uk&lt;/A&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 21:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982318#M332</guid>
      <dc:creator>saintdle136</dc:creator>
      <dc:date>2016-01-26T21:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI to setup hosts networking and storage ready for iSCSI LUNS</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982319#M333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G'day Dean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a similar script a few months back, so I'll put a couple of comments below as to where mine differed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you get the iSCSI HBA settings twice, which probably isn't needed&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;$HBA = Get-VMHostHba -VMHost $VMHost -Type iSCSI | %{$_.Device}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;$hbahost = get-vmhost $VMhost | get-vmhosthba -type iscsi&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this particular line, the server could have additional hardware iSCSI HBAs, so I there in a where-object to make sure it was the software adapter:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;$hbahost = Get-VMHostHba -VMHost $VMHost -Type iScsi | Where-Object {$_.Model -eq "iSCSI Software Adapter"}&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't recall if Nimble Connection Manager (NCM) automatically adjusts the timeout values on the iSCSI software Adapter. In our environment (long story), some of our hosts connecting to Nimble Storage are using hardware adapter and some are using software adapter. Nimble best practice is to set the iSCSI Login Timeout, Noop Timout and Noop Interval to 30 seconds each, which can be done with the following as you have already imported esxcli:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'LoginTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hba&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;host&lt;/SPAN&gt;.device,$false,'NoopOutTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hba&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;host&lt;/SPAN&gt;.device,$false,'NoopOutInterval','30')&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I was making this change to production servers as we were migrating from an old SAN to the Nimble storage, I also decided to place the host into maintenance mode before making these changes (just in case). Also I believe that the changes to the timeouts above require a reboot to apply, so I incorporated a host reboot into the script as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thing I did, was instead of having to modify the values below, I created a CSV file where I could put the values, and then just import the CSV at the start of the script and run a foreach loop to modify each host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've taken your script and added my suggestions above, as well as placed it in a foreach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CSV would look something like this, obviously with extra rows with specific info per host&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1186px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="191"&gt;hostname&lt;/TD&gt;&lt;TD width="191"&gt;Portgroup1&lt;/TD&gt;&lt;TD width="191"&gt;Portgroup2&lt;/TD&gt;&lt;TD width="64"&gt;Uplink1&lt;/TD&gt;&lt;TD width="64"&gt;Uplink2&lt;/TD&gt;&lt;TD width="97"&gt;IP1&lt;/TD&gt;&lt;TD width="97"&gt;IP2&lt;/TD&gt;&lt;TD width="97"&gt;VMK1Number&lt;/TD&gt;&lt;TD width="97"&gt;VMK2Number&lt;/TD&gt;&lt;TD width="97"&gt;iSCSITarget&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Server1&lt;/TD&gt;&lt;TD&gt;iSCSI-Nimble1&lt;/TD&gt;&lt;TD&gt;iSCSI-Nimble2&lt;/TD&gt;&lt;TD&gt;vmnic6&lt;/TD&gt;&lt;TD&gt;vmnic7&lt;/TD&gt;&lt;TD&gt;172.17.248.18&lt;/TD&gt;&lt;TD&gt;172.17.248.19&lt;/TD&gt;&lt;TD&gt;vmk1&lt;/TD&gt;&lt;TD&gt;vmk2&lt;/TD&gt;&lt;TD&gt;172.17.248.249&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the script is below. I haven't actually tested it but I've read over it and I think I have all of the variables lined up correctly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;P&gt;$HostData = import-csv C:\Scripts\Nimble_vSwitch.csv&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;foreach ($Host in $HostData){&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Place Host in maintenance mode&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Set-VMHost -VMHost $Host.hostname -State Maintenance&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#create vSwitch2 for storage, add vmnics, add two vmkernels with Storage IPs, setup NIC teaming (based on the fact you probably have vSwitch0 for mgmt and vSwitch1 for VM traffic)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$vs2 = New-VirtualSwitch -VMHost $Host.hostname -Name vSwitch2 -Nic $Host.Uplink1,$Host.Uplink2 -Mtu 9000 -NumPorts 120&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;New-VMHostNetworkAdapter -VMhost $Host.hostname -virtualswitch $vs2 -portgroup $host.Portgroup1 -ip $Host.IP1 -subnetmask 255.255.255.0 -Mtu 9000&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;New-VMHostNetworkAdapter -VMhost $Host.hostname -virtualswitch $vs2 -portgroup $host.Portgroup2 -ip $Host.IP2 -subnetmask 255.255.255.0 -Mtu 9000&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Get-VirtualPortGroup -VMhost $Host.hostname -virtualswitch $vs2 -Name $Host.IP1 | Get-NicTeamingPolicy | Set-NicTeamingPolicy -MakeNicActive $Host.Uplink1 -MakeNicUnused $Host.Uplink2&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Get-VirtualPortGroup -VMhost $Host.hostname -virtualswitch $vs2 -Name $Host.IP2 | Get-NicTeamingPolicy | Set-NicTeamingPolicy -MakeNicActive $Host.Uplink2 -MakeNicUnused $Host.Uplink1&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Create Software iSCSI Adapter&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;get-vmhoststorage $Host.hostname | set-vmhoststorage -softwareiscsienabled $True&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Get Software iSCSI adapter HBA number and put it into an array&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$hbahost = Get-VMHostHba -VMHost $Host.hostname -Type iScsi | Where {$_.Model -eq "iSCSI Software Adapter"}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Use ESXCLI to create the iSCSI Port binding in the iSCSI Software Adapter&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli = Get-EsxCli -VMhost $Host.hostname&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$Esxcli.iscsi.networkportal.add($hbahost.device, $Null, $Host.vmk1number)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$Esxcli.iscsi.networkportal.add($hbahost.device, $Null, $Host.vmk2number)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Using esxcli, configure the LoginTimeout, NoopTimeout and NoopInterval values in seconds&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'LoginTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'NoopOutTimeout','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;$esxcli.iscsi.adapter.param.set($hbahost.device,$false,'NoopOutInterval','30')&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Setup the Discovery iSCSI IP addresses on the iSCSI Software Adapter&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;new-iscsihbatarget -iscsihba $hbahost -address $Host.iSCSITarget&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;#Restart the ESXi Host&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Restart-VMHost -VMHost $Host.hostname -Confirm:$false&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If time permits I was hoping to build this into a function so then someone could just run a cmdlet such as Create-NimblevSwitch with the various parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 21:20:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982319#M333</guid>
      <dc:creator>matt_allford68</dc:creator>
      <dc:date>2016-01-27T21:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI to setup hosts networking and storage ready for iSCSI LUNS</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982320#M334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow Matt!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I knew I put it into a CSV file, but time meant it was quicker for me to just change the script for each host, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the other information however, I'll look to incorporate that if the NCM doesn't do it already, and thanks for pointing out the duplicated effort. The great thing is, I understand the changes you've made, which shows my powershell knowledge is somewhat improving. Hopefully by the end of the year I'm creating proper toolkits &lt;IMG src="https://community.hpe.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 22:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982320#M334</guid>
      <dc:creator>saintdle136</dc:creator>
      <dc:date>2016-01-27T22:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI to setup hosts networking and storage ready for iSCSI LUNS</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982321#M335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries Dean - thank you for originally sharing! I was meant to before Christmas but got tied up with some other stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a few hosts to build soon so I'll find some time to make a proper powershell function and publish it. I'll also check whether the modifications to the timeouts are required after NCM is installed (I think it is).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Powershell is a wonderful platform, I'm nowhere near skilled in it as I want to be, but I know enough to usually make my job a lot simpler or in some cases such as this, just automate the configuration if other tools aren't available in the environment such as host profiles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 21:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982321#M335</guid>
      <dc:creator>matt_allford68</dc:creator>
      <dc:date>2016-01-28T21:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI to setup hosts networking and storage ready for iSCSI LUNS</title>
      <link>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982322#M336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I got around to creating a powershell script for this task.&lt;/P&gt;&lt;P&gt;Decided it was probably easier to blog about it, so head on over to &lt;A href="http://blog.allford.id.au/2016/powercli-function-configure-esxi-host-for-connectivity-to-nimble-iscsi-san/" title="http://blog.allford.id.au/2016/powercli-function-configure-esxi-host-for-connectivity-to-nimble-iscsi-san/"&gt;PowerCLI Function – Configure ESXi Host for Connectivity to Nimble iSCSI SAN | Matt Alllford's Blog&lt;/A&gt; for some information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As noted, it is a v1.0 script. Happy to accept feedback, good or bad. Hopefully this helps automate some of the work that might come up for those that don't have host profiles within the VMWare environment.&lt;/P&gt;&lt;P&gt;Example of the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="crayon-theme-classic-inline crayon-theme-classic crayon-font-monaco crayon-syntax-inline crayon-syntax" style="font-size: 12px !important;"&gt;&lt;SPAN class="crayon-code crayon-pre"&gt;&lt;SPAN class="crayon-r"&gt;Create-NimbleVSwitch&lt;/SPAN&gt;&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;&lt;SPAN class="crayon-i"&gt;ps1&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-HostMaintenanceMode&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-Hostname&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-i"&gt;ESXi1&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-Uplink1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-i"&gt;vmnic1&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-Uplink2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-i"&gt;vmnic2&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-vSwitchName&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-i"&gt;iSCSIVSwitch&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-PortGroup1Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-i"&gt;iSCSIPG1&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-PortGroup2Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-i"&gt;iSCSIPG2&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-iSCSIAddress1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;192&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;168&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;0&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;10&lt;STRONG&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-iSCSIAddress2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;192&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;168&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;0&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;11&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-iSCSITargetAddress&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;192&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;168&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;0&lt;SPAN class="crayon-sy"&gt;.&lt;/SPAN&gt;250&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-iSCSIVLAN&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;800&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-MTU&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;9000&lt;STRONG&gt;&lt;SPAN class="crayon-h"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="crayon-cn"&gt;&lt;STRONG&gt;-RebootHost&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 04:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/array-setup-and-networking/powercli-to-setup-hosts-networking-and-storage-ready-for-iscsi/m-p/6982322#M336</guid>
      <dc:creator>matt_allford68</dc:creator>
      <dc:date>2016-02-01T04:46:43Z</dc:date>
    </item>
  </channel>
</rss>

