Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

RemotePS - File Access denied

$
0
0

Hi Exterps !

The environement is Windows 2012 on Hyper-V only.

What i try is: Open a remote PS Session and do Get-Child of a network drive

[remoteserver]: PS C:\Temp> Get-Childitem \\hyper1\systemcenter

I tried it with invoke-command, IFE, New-PSSession, the error always is:

Get-Childitem : Access is denied
    + CategoryInfo          : PermissionDenied: (\\hyper1\systemcenter:String) [Get-ChildItem], UnauthorizedAccessException
    + FullyQualifiedErrorId : ItemExistsUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetChildItemCommand
 
Get-Childitem : Cannot find path '\\hyper1\systemcenter' because it does not exist.
    + CategoryInfo          : ObjectNotFound: (\\hyper1\systemcenter:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand

All accounts have access to the drive - it is even "Full Control" to everyone.

The idea is to have a common network share where multiple machines can read/write files in a more complex workflow.

Any ideas - suggestions ?

Thanks / ZaphodB


Viewing all articles
Browse latest Browse all 8583

Trending Articles