- 2025年05月30日
- 星期五

我试图使用PowerShell在远程服务器上运行.cmd文件。 在我的.ps1脚本中,我试过这个: C:MyDirectoryMyCommand.cmd 它导致此错误: C:MyDirectoryMyCommand.cmd is not recognized as the name of a cmdlet,function, script file, or operable progra
我试图使用PowerShell在远程服务器上运行.cmd文件。 在我的.ps1脚本中,我试过这个: C:MyDirectoryMyCommand.cmd 它导致此错误: C:MyDirectoryMyCommand.cmd is not recognized as the name of a cmdlet,function, script file, or operable progra