Could you please make improvements on this cmdlet to allow usage from a data vserver?
(This is not coherent with ONTAP CLI witch allows a vsadmin to trigger an LS update within the vserver scope)
Currently, this can only be done by connecting trought at the cluster level (see error below)
Invoke-NcSnapmirrorLsUpdate :
==================================================================================
| This cmdlet must be directed to the cluster admin vserver. You are currently |
| connected to a data vserver. See the Toolkit web docs (Show-NcHelp) or online |
| help (Get-Help Connect-NcController -Examples) to learn more about directing |
| Toolkit cmdlets to a cluster or data vserver as required by Data ONTAP. |
==================================================================================
At line:1 char:28
+ Invoke-NcSnapmirrorLsUpdate <<<< -SourceVserver svmtest -SourceVolume svmtest_root
+ CategoryInfo : InvalidArgument: (svmtest:NcController) [Invoke-NcSnapmirrorLsUpdate], Exceptio
n
+ FullyQualifiedErrorId : NcClusterCmdlet,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapmirror.InvokeNcSnapmirrorLsUpdate