Hi,
if I write the output from Get-NcCifsSessionFile in variable I got often the XML error message.
Any suggestion to solve the error?
DataOntap 9.8.0
$OpenFilesNC = Get-NcCifsSessionFile -VserverContext $srv | Select Vserver,Share,ShareMode,OpenMode,Path,FileId
Error:
Get-NcCifsSessionFile : There is an error in XML document (1, 6000).
At
+ ... $OpenFilesNC = Get-NcCifsSessionFile -VserverContext $srv |Select ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (.............. :NcController) [Get-NcCifsSessionFile], InvalidOperationException
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsSessionFile