Hello, I have a PowerShell Script
$source_vservers = Get-NcCifsServer -Controller $src
$source_vservers = $source_vservers.CifsServer
ForEach ($source_vserver in $source_vservers) {
Get-NcVol -Controller $src -VserverContext $source_vserver
}
I got allways this output:
Get-NcVol : Specified vserver not found
In Zeile:6 Zeichen:1
+ Get-NcVol -Controller $src -VserverContext $source_vserver
When I check the $source_vserver, I got an output from one SVM.
When I set the $source_verserver = "SVMname", the command works.
Has anyone an idea how can i fix the problem?
Best regards
Alex