默认情况下,Windows PowerShell 模块和管理单元不在 Windows PowerShell 会话中加载。本主题介绍如何启动 Windows PowerShell,以便自动加载所有已安装的模块和管理单元。

启动 Windows PowerShell 并加载所有模块和管理单元

以下过程介绍如何启动 Windows PowerShell 会话并在默认情况下加载所有模块和管理单元。

启动 Windows PowerShell 以便加载所有 Windows PowerShell 模块和管理单元的步骤
  • 右键单击任务栏中的 Windows PowerShell 图标,然后单击“导入所有模块”

    注意

    在 Windows Server(R) 2008 R2 中,默认情况下 Windows PowerShell 图标固定到任务栏。但是,您必须启动 Windows PowerShell 一次才可显示“导入所有模块”任务。