powershell :有人尝试在 Windows 2000 服务器上安装 powershell 吗?
有人尝试过在 Windows 2000 服务器上安装 powershell 吗? 我意识到它不应该安装在 Windows 2000 服务器上,因此不受支持; 然而,其上运行的 vbscript 需要 3.5 天才能完成,而 powershell 可能会在更短的时间内完成。 尽管如此,我注意到它只需要 .NET 2.0 即可运行。
提前致谢。
Has anyone tried installing powershell on a Windows 2000 server? I realize its not supposed to be installed on windows 2000 server and therefore not supported; however the vbscript that runs on it takes 3.5 days to complete which powershell could probably finish in lesser time. Nevertheless, I noticed it just requires .NET 2.0 to run.
thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的。 这有效。 无需在服务器上安装 Powershell,只需远程与其对话即可:-
Yes. This works. Instead of installing Powershell on the server, just remotely talk to it like :-
如果您对相关 Windows 2000 服务器具有管理员访问权限,您可以在同一域中受支持的计算机上运行 PowerShell,并使用 set-location 将工作目录更改为远程服务器,
然后您可以在该服务器上运行您想要的任何 PowerShell 脚本。远程目录。 如果您开始的文件夹是共享的,那就更简单了(您不需要访问管理共享)。 或者,您可以使用链接到目标目录的 PowerShell 映射计算机上的驱动器。
这可能是比在不受支持的计算机上强制安装更顺利的选择。
If you have administrator access to the Windows 2000 server in question, you could run PowerShell on a supported machine in the same domain and use set-location to change your working directory to the remote server
You could then run whatever PowerShell script you want on the remote directory. If the folder you are starting in is shared, it is even simpler (you won't need to access the admin share). Or you could map a drive on your machine with PowerShell that links to the target directory.
This might be a smoother option than forcing an install on a non-supported machine.