Hi, when using Get-DfsnFolderTarget remotely such as Invoke-Command -ComputerName Servername {Get-DfsnFolderTarget \\domain\dfs\share} the following error is returned:
Get-DfsnFolderTarget : Cannot get DFS folder properties on "\\domain\dfs\share"
+ CategoryInfo : PermissionDenied: (MSFT_DfsNamespaceFolderTarget:ROOT\Microsoft\...aceFolderTarget) [Get-DfsnFolderTarget], CimException
+ FullyQualifiedErrorId : Windows System Error 5,Get-DfsnFolderTarget
Get-DfsnFolderTarget : Access to a CIM resource was not available to the client.
+ CategoryInfo : PermissionDenied: (MSFT_DfsNamespaceFolderTarget:ROOT\Microsoft\...aceFolderTarget) [Get-DfsnFolderTarget], CimException
+ FullyQualifiedErrorId : MI RESULT 2,Get-DfsnFolderTarget
When using New-PSSession ServerName, Enter-PSSession, Get-DfsnFolderTarget \\domain\dfs\share I get the same result.
Running the command locally does return a result. It appears all DFS cmdlets give this error. Is this a double hop problem?