Hi guys,
I started playing with powershell this week - I've tried to run the following but getting this:
"the size of the volume is DataONTAP.Types.Volume.SizeInfo"
the script is:
Import-Module dataontap
$filername = Read-Host 'What is the filer hostname?'
$name = Read-Host 'What is your username?'
Connect-NaController -Name $filername -Credential $name
$volname = Read-Host 'What is the volume name?'
$volsize = Get-NaVolSize -Name $volname
Write-Host "the size of the volume is:" $volsize
my debugger is saying that my problem is in this line:
$volsize = Get-NaVolSize -Name $volname
Thank you