【发布时间】:2012-10-25 17:13:51
【问题描述】:
我是 PowerShell 的新手。
我有用户名和密码可以访问远程位置的共享文件夹。
我需要在为 Powershell v3.0 编写的 PS1 脚本中将文件 foo.txt 从当前位置复制到 \\Bar.foo.myCOmpany.com\logs。
我怎样才能做到这一点?
【问题讨论】:
-
远程位置是网络共享还是ftp文件夹?
标签: .net powershell powershell-3.0