Thanks, that worked too... last question.
Here's my current script:
Import-Module dataontap
$Controller = @('filername')
Foreach ($filer in $controller)
{
Connect-nacontroller $filer -Credential jsmith
get-navol | get-nasnapshot | select TargetName,name,Created | Export-Csv 'H:\NetApp Scripts\$filer.snapshots.csv'
}
Im looking for it to save the file with the filername.snapshot. I've tried filername_snapshot and filername.snapshot, but it only gives it the $filer.snapshot name.....