无法安装Powershell Snap-in [英] Cannot install Powershell Snap-in

查看:219
本文介绍了无法安装Powershell Snap-in的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

执行iis7psprov_x64.msi时,我立即收到一条消息:

When executing iis7psprov_x64.msi I immedialy receive a message saying:

PowerShell管理单元是Windows操作系统的一部分。请通过'Programs and Freatures'或'Server Manager'安装它

The PowerShell snap-in is part of Windows Operating System. Please install it via 'Programs and Freatures' or 'Server Manager'

提取msi并尝试以这种方式运行它也会产生相同的消息。

Extracting the msi and attempting to run it that way also yields the same message.

我使用IIS 7.0在Win7(64位)上安装。

I am installing on Win7(64bit) with IIS 7.0.

推荐答案

如错误所示,它应该已经作为Windows 7操作系统的一部分安装。

As the error suggests, it should already be installed as part of your Windows 7 operating system.

您可能需要执行(或添加到您的配置文件)以下内容加载模块的声明:

You may need to execute (or add to your profile) the following statement to load the module:

import-module WebAdministration

这篇关于无法安装Powershell Snap-in的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆