copy-item With Alternate Credentials

后端 未结 12 2071
长情又很酷
长情又很酷 2020-12-01 05:29

I\'m using the CTP of powershell v2. I have a script written that needs to go out to various network shares in our dmz and copy some files. However, the issue I have is that

12条回答
  •  猫巷女王i
    2020-12-01 05:51

    This is an old question but I'm just updating it for future finders.

    PowerShell v3 now supports using the -Credential parameter for filesystem operations.

    Hope this helps others searching for the same solution.

提交回复
热议问题