共用方式為


如何匯入資料倉儲 Cmdlet 模組

 

適用於: System Center 2012 SP1 - Service Manager、System Center 2012 R2 Service Manager、System Center 2012 - Service Manager

若要能夠使用中的資料倉儲 cmdlet System Center 2012 – Service Manager, ,您必須先手動匯入的 Windows PowerShell 資料倉儲 cmdlet 模組 Service Manager。 您可以匯入 Service Manager 管理伺服器、 資料倉儲管理伺服器,或兩者上的資料倉儲 cmdlet 模組。

若要匯入資料倉儲 cmdlet 模組

  1. 管理伺服器上,開啟 Service Manager Windows PowerShell 工作階段。 或者,在資料倉儲管理伺服器開啟 Windows PowerShell 工作階段。

    確定 Windows PowerShell 提示字元位於 Service Manager 安裝資料夾。

  2. 在 Windows PowerShell 命令提示字元中,輸入下列命令,並再按 ENTER 鍵 ︰

    import-module “.\Microsoft.EnterpriseManagement.Warehouse.Cmdlets.psd1”  
    
  3. 型別 結束, ,然後按 ENTER 以關閉 系統管理員 ︰ Windows PowerShell 視窗。