【发布时间】:2011-02-18 07:59:11
【问题描述】:
Powershell 有两种将其他 cmdlet 导入会话的方法,Add-PsSnapIn 和 Import-Module。关于何时选择一个而不是另一个,文档完全不清楚。有人知道这些之间的区别吗?
【问题讨论】:
-
我发现 IIS 7 管理管理单元现在是 IIS 7.5 的一个模块
import-module webadministration来源:powershell.com/cs/forums/t/8209.aspx