<?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: first script in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41975#M1984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...and here is a good link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://technet.microsoft.com/en-us/library/ee692794.aspx" title="http://technet.microsoft.com/en-us/library/ee692794.aspx" target="_blank"&gt;http://technet.microsoft.com/en-us/library/ee692794.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 May 2013 18:30:16 GMT</pubDate>
    <dc:creator>JSHACHER11</dc:creator>
    <dc:date>2013-05-01T18:30:16Z</dc:date>
    <item>
      <title>first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41815#M1952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started playing with powershell this week - I've tried to run the following but getting this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"the size of the volume is DataONTAP.Types.Volume.SizeInfo"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the script is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import-Module dataontap&lt;/P&gt;&lt;P&gt;$filername = Read-Host 'What is the filer hostname?'&lt;/P&gt;&lt;P&gt;$name = Read-Host 'What is your username?'&lt;/P&gt;&lt;P&gt;Connect-NaController -Name $filername -Credential $name&lt;/P&gt;&lt;P&gt;$volname = Read-Host 'What is the volume name?'&lt;/P&gt;&lt;P&gt;$volsize = Get-NaVolSize -Name $volname &lt;/P&gt;&lt;P&gt;Write-Host "the size of the volume is:" $volsize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my debugger is saying that my problem is in this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$volsize = Get-NaVolSize -Name $volname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:05:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41815#M1952</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2025-06-05T06:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41820#M1953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you set your execution policy to unrestricted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your storage controller joined to the domain?&amp;nbsp; If so, then is your domain account (logged on with) a member of the storage controllers administrator's group? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If yes, then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Import-Module dataontap&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;$filername = Read-Host "What is the filer hostname?"&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Connect-NaController -Name $filername | out-null&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;$volname = Read-Host "What is the volume name (case sensitive)?"&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;$volsize = Get-NaVolSize $volname&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Write-Host "The size of the volume is:"$volsize.volumesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;If no, then:&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Import-Module dataontap&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;$filername = Read-Host "What is the filer hostname?"&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Connect-NaController -Name $filername -Credential (get-credential) | out-null&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;$volname = Read-Host "What is the volume name (case sensitive)?"&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;$volsize = Get-NaVolSize $volname&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;Write-Host "The size of the volume is:"$volsize.volumesize&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 22:42:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41820#M1953</guid>
      <dc:creator>spence</dc:creator>
      <dc:date>2013-04-10T22:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41824#M1954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no go&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 00:04:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41824#M1954</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-11T00:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41830#M1955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below scriptlet you are connecting to the controller only with username, you are not entering the password&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13656686767685395" jivemacro_uid="_13656686767685395"&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;$name = Read-Host 'What is your username?'&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Connect-NaController -Name $filername -Credential $name&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with the below method &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13656690350516556" jivemacro_uid="_13656690350516556"&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;$name = Read-Host 'What is your username?'&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;$password = &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Read-Host 'What is your Password?'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$ControllerPassword = ConvertTo-SecureString -String $password -AsPlainText -force&lt;/P&gt;&lt;P&gt;$credential = New-Object System.Management.Automation.PsCredential($name,$ControllerPassword)&lt;/P&gt;&lt;P style="font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Connect-NaController -Name $filername -Credential $credential&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 08:30:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41830#M1955</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-04-11T08:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41834#M1956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this line (Connect-NaController -Name $filername -Credential $name) brings up a popup that asks for a password. I insert the password and the script moves on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, my debugger is pointing to this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$volsize = Get-NaVolSize -Name $volname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 09:30:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41834#M1956</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-11T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41837#M1957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are you giving as input to $volume, can you share an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the output when i ran your set of cmdlets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/20227_vins.png" style="float: none;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 10:46:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41837#M1957</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-04-11T10:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41842#M1958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried with a volume I created, called vol7 and also with vol0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 13:12:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41842#M1958</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-11T13:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41846#M1959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am late to the discussion, but this is working for me:&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;$filername = Read-Host 'What is the filer hostname?'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$name = Read-Host 'What is your username?'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect-NaController -Name $filername -Credential $name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$volname = Read-Host 'What is the volume name?'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$volsize = Get-NaVolSize -Name $volname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write-Host "the size of the volume is:" ($volsize).volumesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the error that the debugger is throwing out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:20:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41846#M1959</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2013-04-24T13:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41852#M1960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"the size of the volume is DataONTAP.Types.Volume.SizeInfo"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference between my script and yours is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write-Host "the size of the volume is:" $volsize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yours:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write-Host "the size of the volume is:" ($volsize).volumesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(is that my issue?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have to try that again with your line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll let you know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:26:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41852#M1960</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-24T13:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41857#M1961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, you need to call the property(volumesize) of the object ($volsize).&amp;nbsp; Otherwise it simply returns the object type, not the usable information of the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:34:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41857#M1961</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2013-04-24T13:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41862#M1962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sweet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try that and let you know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:40:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41862#M1962</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-24T13:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41866#M1963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Scott&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we take it a step further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - How do I list all volumes (just volume names) and Read-Host "pick a volume from the list to show its size"&lt;/P&gt;&lt;P&gt; - If the input volume name does not exist, can we display a message &amp;gt;&amp;gt; "volume doe not exist, try again"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 11:10:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41866#M1963</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-25T11:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41871#M1964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joel, I am in training, but I have attached a script here that does the same sort of thing for finding CIFS shares and setting the browse/nobrowse option.&amp;nbsp; I have added some notes to it, but I should be able to work with it to do this for volumes sometime next week(should be pretty simple).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for the write-output, that comes out in bytes, an easy format option is to use write-output ($volsize).volumesize |convertto-formattednumber -type datasize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Scott&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Scott Chubb for spelling/grammar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 13:49:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41871#M1964</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2013-04-25T13:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41878#M1965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joel - Check this blog &lt;A _jive_internal="true" href="https://community.netapp.com/community/products_and_solutions/microsoft/powershell/samples/blog/2013/04/25/fun-with-trycatch-out-gridview-in-powershell-v3-and-dataontap-powershell-toolkit" target="_blank"&gt;https://communities.netapp.com/community/products_and_solutions/microsoft/powershell/samples/blog/2013/04/25/fun-with-trycatch-out-gridview-in-powershell-v3-and-dataontap-powershell-toolkit&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 14:34:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41878#M1965</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-04-25T14:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41886#M1966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vinith, that looks awesome! I'll try that later&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 16:08:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41886#M1966</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-25T16:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41892#M1967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/20985_images.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 16:09:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41892#M1967</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-25T16:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41897#M1968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here ya go! Since the user selects by number, there shouldn't be mistakes in vol name.&amp;nbsp; The script retains the check to make sure the user is entering a number, but now returns a human readable formatted vol size. (Got bored at lunch)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 16:47:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41897#M1968</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2013-04-25T16:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41903#M1969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to wonder--is there any reason NetApp implements the ToString method on this object to output the object type name as a string instead of the volumesize integer itself? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 17:27:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41903#M1969</guid>
      <dc:creator>danekantner</dc:creator>
      <dc:date>2013-04-25T17:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41908#M1970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot say on authority, but powershell is object oriented, therefore in this context the request is for an object that is being called back into a variable. Now $volsize is an object, to get that object's information, you have to reference the property .&amp;nbsp; The property of variable/object&amp;nbsp; $volsize is the output, and in order to conform to proper syntax and compatibility it should be required to call (object).property.&amp;nbsp; Otherwise you end up with no idea of how one output should be called in reference to another.&amp;nbsp; By that what I mean is what object only has one property and therefore will output a single property as int/str/arr, etc?&amp;nbsp; You could not expect to write anything with any certainty because the rule could change for every single output, now multiply that by every vendor doing it their own way, gets to be a mess very quickly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run get-navolsize -name vol0, you get a default output which is a header, separator, and the output integer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Scot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 18:59:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41908#M1970</guid>
      <dc:creator>cscott</dc:creator>
      <dc:date>2013-04-25T18:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: first script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41912#M1971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott, what does this line do?&amp;nbsp; &amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; $volList = @($volList)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 19:28:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/first-script/m-p/41912#M1971</guid>
      <dc:creator>JSHACHER11</dc:creator>
      <dc:date>2013-04-25T19:28:31Z</dc:date>
    </item>
  </channel>
</rss>

