<?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: Merge VMware and NetApp VM information in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827429#M60314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luc thanks so much. This is very close to what I’m trying to do.&amp;nbsp;&amp;nbsp; However it is slightly different. In the script you posted, it is associating VMFS data store Objects in Vcenter with LUNs in NetApp.&amp;nbsp;&amp;nbsp; What I’m actually trying to do is associate operating system drives in an operating system within windows with iSCSI LUNs In the NetApp controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in Windows you can use the NetApp Snapdrive software to connect the operating system to a NetApp iSCSI LUN and mount it say as a &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@B699825BEA7B9353BA12C688F8C7000B/emoticons/1f627.png" alt=":anguished_face:" title=":anguished_face:" /&gt; drive to windows.&amp;nbsp; Windows then formats the LUN with the NTFS file system and then it can become a &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@B699825BEA7B9353BA12C688F8C7000B/emoticons/1f627.png" alt=":anguished_face:" title=":anguished_face:" /&gt; drive the OS can use.&amp;nbsp; vCenter isn’t aware This happened.&amp;nbsp; However if VMware tools are installed, then Whatever view inside the OS was available about a D drive could be picked up by VMware tools.&amp;nbsp; Somehow I’ve got to be able to associate the OS drive with the iSCSI LUN that backs it, and list for each VM in vCenter this info in the format of the table I posted above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(i think SnapDrive, the NetApp software that installs in Windows and creates these Os level iSCSI connections to NetApp might have its own management server as well - not sure if PowerShell could connect to it to help merge these pieces of data) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Feb 2019 22:15:32 GMT</pubDate>
    <dc:creator>TheVMinator</dc:creator>
    <dc:date>2019-02-23T22:15:32Z</dc:date>
    <item>
      <title>Merge VMware and NetApp VM information</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827427#M60312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report that lists information for virtual machines in vCenter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get-vm | select name, numcpu, memorygb, provisionedspacegb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, each VM is also connecting to an iSCSI LUN on NetApp at the OS level using an iSCSI initiator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to figure out the size of the iSCSI LUN that this VM connects to at the OS level, then merge that with my existing columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I'm done I need to have a report like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(198, 198, 198); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: left; background-color: #f2f2f2; color: #505050; padding: 6px;" valign="middle"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: left; background-color: #f2f2f2; color: #505050; padding: 6px;" valign="middle"&gt;&lt;STRONG&gt;NUMCPU&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: left; background-color: #f2f2f2; color: #505050; padding: 6px;" valign="middle"&gt;&lt;STRONG&gt;MemoryGB&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: left; background-color: #f2f2f2; color: #505050; padding: 6px;" valign="middle"&gt;&lt;STRONG&gt;ProvisionedSpaceGB&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: left; background-color: #f2f2f2; color: #505050; padding: 6px;" valign="middle"&gt;&lt;STRONG&gt;iSCSI LUN Size&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 6px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got the Netapp PowerShell toolkit installed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-7-released/td-p/144805" title="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-7-released/td-p/144805"&gt;NetApp PowerShell Toolkit 4.7 released! - NetApp Community&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone successfully done something like this - taken VM data from vCenter and data from NetApp, and combined them into a single report that pulls data both from vCenter and from NetApp?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2019 00:05:58 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827427#M60312</guid>
      <dc:creator>TheVMinator</dc:creator>
      <dc:date>2019-02-23T00:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Merge VMware and NetApp VM information</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827428#M60313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;A href="https://community.netapp.com/t5/VMware-Solutions-Discussions/How-to-identify-NetApp-LUN-ID-in-Vmware/m-p/110613/highlight/true#M8322"&gt;this solution&lt;/A&gt; frlom the NetApp forum?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff;"&gt;Import-Module&lt;/SPAN&gt; DataONTAP &lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Connect-VIServer&lt;/SPAN&gt; your.vcenter&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Connect-NcController&lt;/SPAN&gt; your.cdot.system&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;naluns&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Get-NcLun&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ds&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Get-Datastore&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: #00008b;"&gt;?&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;.Type&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;VMFS&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ds&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: #00008b;"&gt;%&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;Finding LUNs for datastore &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;.Name&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;luns&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Get-ScsiLun&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: #00008b;"&gt;?&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;.CanonicalName&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-match&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;naa.600a0980*&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #00008b;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;luns.length&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-gt&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&amp;nbsp; Found &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;luns.length&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt; paths&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;completed&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #00008b;"&gt;@&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;luns&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: #00008b;"&gt;%&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #00008b;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;!&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;completed.Contains&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;.CanonicalName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;))&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;hexSerial&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;.CanonicalName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;.Substring&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;12&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;serial&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #00008b;"&gt;for&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;i&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;i&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-lt&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;hexSerial.length&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;i&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;+=&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;char&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;][&lt;/SPAN&gt;&lt;SPAN style="color: #00008b;"&gt;int&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;]&lt;/SPAN&gt;::Parse&lt;SPAN style="color: #000000;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;hexSerial.substring&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;i&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;HexNumber&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ntapSerial&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;serial&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-join&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;""&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&amp;nbsp; NetApp LUN serial is: &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ntapSerial&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ntapLun&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;naluns&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: #00008b;"&gt;?&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;.SerialNumber&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ntapSerial&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&amp;nbsp; NetApp SVM: &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ntapLun.Vserver&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Write-Host&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #8b0000;"&gt;&amp;nbsp; LUN Path: &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;$($&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;ntapLun.Path&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;completed&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;+=&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;$&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;.CanonicalName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2019 08:13:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827428#M60313</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2019-02-23T08:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Merge VMware and NetApp VM information</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827429#M60314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luc thanks so much. This is very close to what I’m trying to do.&amp;nbsp;&amp;nbsp; However it is slightly different. In the script you posted, it is associating VMFS data store Objects in Vcenter with LUNs in NetApp.&amp;nbsp;&amp;nbsp; What I’m actually trying to do is associate operating system drives in an operating system within windows with iSCSI LUNs In the NetApp controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in Windows you can use the NetApp Snapdrive software to connect the operating system to a NetApp iSCSI LUN and mount it say as a &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@B699825BEA7B9353BA12C688F8C7000B/emoticons/1f627.png" alt=":anguished_face:" title=":anguished_face:" /&gt; drive to windows.&amp;nbsp; Windows then formats the LUN with the NTFS file system and then it can become a &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@B699825BEA7B9353BA12C688F8C7000B/emoticons/1f627.png" alt=":anguished_face:" title=":anguished_face:" /&gt; drive the OS can use.&amp;nbsp; vCenter isn’t aware This happened.&amp;nbsp; However if VMware tools are installed, then Whatever view inside the OS was available about a D drive could be picked up by VMware tools.&amp;nbsp; Somehow I’ve got to be able to associate the OS drive with the iSCSI LUN that backs it, and list for each VM in vCenter this info in the format of the table I posted above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(i think SnapDrive, the NetApp software that installs in Windows and creates these Os level iSCSI connections to NetApp might have its own management server as well - not sure if PowerShell could connect to it to help merge these pieces of data) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2019 22:15:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827429#M60314</guid>
      <dc:creator>TheVMinator</dc:creator>
      <dc:date>2019-02-23T22:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Merge VMware and NetApp VM information</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827430#M60315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid not, I don't have a NetApp box at my disposal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would suggest to ask your question also on the NetApp forum.&lt;BR /&gt;You might have better luck there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2019 22:29:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Merge-VMware-and-NetApp-VM-information/m-p/1827430#M60315</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2019-02-23T22:29:53Z</dc:date>
    </item>
  </channel>
</rss>

