I’m trying to query the files on the remote machine using the following syntax, it fails with access is denied / permission denied. Am I missing something,
The permissions on the target are given with full control and to all folder, subfolders and files. Permissions are given at Y: volume level.
Get-ChildItem \serverAY$folderA
Get-ChildItem : Access is denied
At line:1 char:1
+ Get-ChildItem \serverAY$folderA
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (\serverA...:String) [Get-ChildItem], UnauthorizedAccessException
+ FullyQualifiedErrorId : ItemExistsUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetChildItemCommand
Get-ChildItem : Cannot find path '\serverAY$folderA' because it does not exist.
At line:1 char:1
+ Get-ChildItem \serverAY$folderA
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (\serverA...:String) [Get-ChildItem], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand