正如标题所说。 我刚刚安装了XP SP2,我期待安装PowerShell 1.0; 但是,事实并非如此。
看来我必须手动安装它。 如果我升级到SP3,我会得到PowerShell。
维基百科条目 :
PowerShell 1.0在2006年发布了Windows XP SP2,Windows Server 2003和Windows Vista。 它是Windows Server 2008的可选组件。
- 在什么情况下运行SCCM Powershell检测脚本?
- 使用Powershell查询schtasks
- 如何授予使用Powershell远程启动/停止服务的权限?
- 通过命令行或PowerShell安装.NET 4?
- 使用Windows Powershell创build具有权限的共享
PowerShell 2.0与Windows 7和Windows Server 2008 R2集成,针对Windows XP Service Pack 3,Windows Server 2003 Service Pack 2和Windows Vista Service Pack 1发布。
看来PowerShell 1.0或2.0在XP SP3,2003和Vista中默认没有安装。
我无法find任何具体的信息,请有人确认。
Windows 7 / Server 2008 R2是默认安装PowerShell的第一个Windows版本 。
Windows PowerShell 2.0只需安装在Windows Server 2008和Windows Vista上。 它已经安装在Windows Server 2008 R2和Windows 7上。
忽略在当今和今后安装XP SP2的可怕性,如果没有默认安装PowerShell是一个问题,您有很多选项可以追溯(例如GPO或启动/login脚本来安装它)和前进通过将其整合到ISO映像或部署的机器中)。
PowerShell不与Windows XP一起安装。 之后您必须手动安装。