如何让 USMT 与服务器一起通过 Invoke-Command 运行?

发布于 2025-01-17 03:23:52 字数 304 浏览 1 评论 0原文

我一直在尝试将 scanstate 和 loadstate 备份到服务器,但每次尝试都会返回错误代码 27:无效的存储路径;检查存储参数和/或文件系统权限。我已共享该文件夹以允许每个人和域计算机完全控制。我可以在本地计算机上使用完全相同的参数运行 scanstate/loadstate。

Invoke-Command -ComputerName $sourceComputer -ScriptBlock{C:\USMTFiles\scanstate.exe \\server\migstore /i:c:\usmtfiles\MigUser.xml}

I've been trying to get scanstate and loadstate to backup to a server but everytime I try it returns error code 27: Invalid store path; check the store parameter and/or file system permissions. I have shared the folder out to allow everyone and domain computers full control. I can run the scanstate/loadstate with the exact same parameters on the local machine.

Invoke-Command -ComputerName $sourceComputer -ScriptBlock{C:\USMTFiles\scanstate.exe \\server\migstore /i:c:\usmtfiles\MigUser.xml}

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文