<?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 Using powershell to query Windows servers to DSM version info... in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-powershell-to-query-Windows-servers-to-DSM-version-info/m-p/121682#M4965</link>
    <description>&lt;P&gt;Hello all-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have been using this WMI call to get windows DSM driver version from a list of about 100 servers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-WmiObject -Class Win32_Product -ComputerName $s -Filter "Name='Data ONTAP DSM for Windows MPIO'" #| Format-List -Property *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is, using powershell it is VERY slow...takes about 2 hours to get thru 100 servers...Does anyone know of a Netapp powershell command to get the verison info for the Netapp DSM driver version ???&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 19:50:29 GMT</pubDate>
    <dc:creator>pippen23</dc:creator>
    <dc:date>2025-06-04T19:50:29Z</dc:date>
    <item>
      <title>Using powershell to query Windows servers to DSM version info...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-powershell-to-query-Windows-servers-to-DSM-version-info/m-p/121682#M4965</link>
      <description>&lt;P&gt;Hello all-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have been using this WMI call to get windows DSM driver version from a list of about 100 servers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-WmiObject -Class Win32_Product -ComputerName $s -Filter "Name='Data ONTAP DSM for Windows MPIO'" #| Format-List -Property *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is, using powershell it is VERY slow...takes about 2 hours to get thru 100 servers...Does anyone know of a Netapp powershell command to get the verison info for the Netapp DSM driver version ???&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:50:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-powershell-to-query-Windows-servers-to-DSM-version-info/m-p/121682#M4965</guid>
      <dc:creator>pippen23</dc:creator>
      <dc:date>2025-06-04T19:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using powershell to query Windows servers to DSM version info...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-powershell-to-query-Windows-servers-to-DSM-version-info/m-p/121685#M4968</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/47680"&gt;@pippen23﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the "Win32_Product" WMI class has some downsides, the most notable is that it uses the MSI provider to enumerate the products and gather information. &amp;nbsp;Every time you query Win32_Product it does that enumeration which has a non-inconsequential imact to the system (my Win10 quad core i7 desktop jumps to 25% CPU). &amp;nbsp;You can see these queries happening in the Windows application log too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's some work arounds, like forward only enumerators, but the one I favor is &lt;A href="https://blogs.technet.microsoft.com/heyscriptingguy/2011/11/13/use-powershell-to-quickly-find-installed-software/" target="_self"&gt;from the Scripting Guy&lt;/A&gt;. &amp;nbsp;It queries the registry for the software information and is significantly faster (and doesn't cause the MSI provider to eat a lot of CPU on the hosts).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 19:40:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-powershell-to-query-Windows-servers-to-DSM-version-info/m-p/121685#M4968</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-07-22T19:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using powershell to query Windows servers to DSM version info...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-powershell-to-query-Windows-servers-to-DSM-version-info/m-p/121707#M4970</link>
      <description>&lt;P&gt;I assume you are creating&amp;nbsp;a variable from reading your machine list ($s), then running a ForEach loop through the list submitting each Cmdlet. But you could parrallelize this process by submitting each Cmdlet&amp;nbsp;to run as a background job, thus dramatically improving total time to completion. Just add "-AsJob" to the end of your Cmdlet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can run "Get-Job" to see the status of your submitted jobs after that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably a good idea to pipe the results to an OutFile for review.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 13:44:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-powershell-to-query-Windows-servers-to-DSM-version-info/m-p/121707#M4970</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2016-07-25T13:44:52Z</dc:date>
    </item>
  </channel>
</rss>

