Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

Error when using Get-DfsnFolderTarget remotely

$
0
0

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?


Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>