<?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 Aggregate report... in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29042#M1324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I will be greatful, if anyone could get my a powershell script for a report in the below format. (Aggregate Name) (Total Space (TB)) (Used Capacity (TB))(Allocated Capacity (TB)) (Space Available (TB)) Thanks, Kalyan Guturi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Dec 2013 15:29:14 GMT</pubDate>
    <dc:creator>kallu_chakri</dc:creator>
    <dc:date>2013-12-14T15:29:14Z</dc:date>
    <item>
      <title>Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29042#M1324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I will be greatful, if anyone could get my a powershell script for a report in the below format. (Aggregate Name) (Total Space (TB)) (Used Capacity (TB))(Allocated Capacity (TB)) (Space Available (TB)) Thanks, Kalyan Guturi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 15:29:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29042#M1324</guid>
      <dc:creator>kallu_chakri</dc:creator>
      <dc:date>2013-12-14T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29046#M1325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need of a powershell script, single cmdlet would give you that info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get-NaAggr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 16:07:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29046#M1325</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-12-14T16:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29050#M1326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response. However, "Get-NaAggr" provides &amp;lt;total size&amp;gt; &amp;lt;used&amp;gt; and &amp;lt;Available&amp;gt; but doesn't provide allocated. Command "aggr show_space" provides all the mentioned information. How can we point this Get-NaAggr command to a specific filer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help here please....!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 16:20:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29050#M1326</guid>
      <dc:creator>kallu_chakri</dc:creator>
      <dc:date>2013-12-14T16:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29056#M1327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Connect to the Controller first as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NaController &amp;lt;Controller IP Address&amp;gt; -Credential (Get-Credential)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try out Get-NaAggr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are a newbie to powershell toolkit, check out some of these documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-6162" target="_blank"&gt;https://communities.netapp.com/docs/DOC-6162&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 16:29:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/29056#M1327</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-12-14T16:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/113226#M4598</link>
      <description>&lt;P&gt;You are correct by the way get-NaAgg doesn't contain the allocated amount... Did you ever find a Powershell command that would give the allocated amount?&amp;nbsp; I am having the same issue where I am not able to find the allocated amount even on the cDOT systems using get-NcAgg.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 18:54:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/113226#M4598</guid>
      <dc:creator>JimKoenig</dc:creator>
      <dc:date>2015-12-02T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/113230#M4599</link>
      <description>&lt;P&gt;Something like this should produce the information you're looking for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; Get-NcAggr | ForEach-Object {
    $x = "" | Select Name,Total_TB,Used_TB,Allocated_TB,Available_TB
    $x.Name = $_.Name
    $x.Total_TB = [Math]::Round($_.TotalSize / 1TB, 2)
    $x.Available_TB = [Math]::Round($_.Available / 1TB, 2)
    $x.Used_TB = [Math]::Round($_.AggrSpaceAttributes.SizeUsed / 1TB, 2)
    $x.Allocated_TB = 0

    Get-NcVol | ?{ $_.Aggregate -eq $x.Name } | %{ $x.Allocated_TB += $_.TotalSize }
    $x.Allocated_TB = [Math]::Round($x.Allocated_TB / 1TB, 2)

    $x
}&lt;/PRE&gt;&lt;P&gt;There is no single command or attribute which shows the allocated capacity against an aggregate. &amp;nbsp;Instead you simply find all the volumes on that aggregate and sum their provisioned space.&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>Wed, 02 Dec 2015 21:23:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/113230#M4599</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2015-12-02T21:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/124750#M5113</link>
      <description>&lt;P&gt;can we add %overcommited in this ?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 23:44:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/124750#M5113</guid>
      <dc:creator>Kirand1979</dc:creator>
      <dc:date>2016-10-25T23:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate report...</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/125081#M5119</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/52364"&gt;@Kirand1979﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can add in the commitment percent using this line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$x.Committed_Percent = [Math]::Round(($x.Allocated_TB / $x.Total_TB) * 100)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't forget to add the "Committed_Percent" field to the object declaration too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$x = "" | Select Name,Total_TB,Used_TB,Allocated_TB,Available_TB,Committed_Percent&lt;/PRE&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>Thu, 03 Nov 2016 20:25:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Aggregate-report/m-p/125081#M5119</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-11-03T20:25:02Z</dc:date>
    </item>
  </channel>
</rss>

