<?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: Need script to genarate capcity report in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Need-script-to-genarate-capcity-report/m-p/46695#M2211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import-module DataOntap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ControllerPassword = ConvertTo-SecureString -String "your password" -AsPlainText -force&lt;/P&gt;&lt;P&gt;$ControllerCredential = New-Object System.Management.Automation.PsCredential("root",$ControllerPassword)&lt;/P&gt;&lt;P&gt;$filer = "your filer"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;connect-NaController $filer -Credential $ControllerCredential | out-null&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate = get-naefficiency -aggregate *&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate_used = ($aggregate | measure-object -property Used -sum).sum/1024/1024/1024&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate_free = [Math]::Round(($aggregate | measure-object -property Free -sum).sum/1024/1024/1024,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate_capacity = [Math]::Round(($aggregate | measure-object -property Capacity -sum).sum/1024/1024/1024,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can then play with the variables to achieve whatever statistics you would like to have printed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Sep 2013 12:08:37 GMT</pubDate>
    <dc:creator>jeanfrancois_masure</dc:creator>
    <dc:date>2013-09-06T12:08:37Z</dc:date>
    <item>
      <title>Need script to genarate capcity report</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Need-script-to-genarate-capcity-report/m-p/46690#M2210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a powershell script, which will get me below format of excel output in GB per aggregate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Shapce | Used Capacity | Allocated Capacity | Space Availability |&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help over here is greatly appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kalyan Guturi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:54:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Need-script-to-genarate-capcity-report/m-p/46690#M2210</guid>
      <dc:creator>CHAKRI_KALLU</dc:creator>
      <dc:date>2025-06-05T05:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to genarate capcity report</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Need-script-to-genarate-capcity-report/m-p/46695#M2211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import-module DataOntap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ControllerPassword = ConvertTo-SecureString -String "your password" -AsPlainText -force&lt;/P&gt;&lt;P&gt;$ControllerCredential = New-Object System.Management.Automation.PsCredential("root",$ControllerPassword)&lt;/P&gt;&lt;P&gt;$filer = "your filer"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;connect-NaController $filer -Credential $ControllerCredential | out-null&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate = get-naefficiency -aggregate *&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate_used = ($aggregate | measure-object -property Used -sum).sum/1024/1024/1024&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate_free = [Math]::Round(($aggregate | measure-object -property Free -sum).sum/1024/1024/1024,0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; $aggregate_capacity = [Math]::Round(($aggregate | measure-object -property Capacity -sum).sum/1024/1024/1024,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can then play with the variables to achieve whatever statistics you would like to have printed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 12:08:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Need-script-to-genarate-capcity-report/m-p/46695#M2211</guid>
      <dc:creator>jeanfrancois_masure</dc:creator>
      <dc:date>2013-09-06T12:08:37Z</dc:date>
    </item>
  </channel>
</rss>

