Install-Module
注意PSモジュール導入
Install-Module <name> -Scope CurrentUser
PowerShell Galleryからモジュール導入。-Scope CurrentUserなら管理者権限不要。M365系作業の前提準備。
実行例
Install-Module ExchangeOnlineManagement -Scope CurrentUserEXO管理モジュールを導入
書式
Install-Module <name> [-Scope CurrentUser] / Get-Module -ListAvailable
実行前の注意
信頼できる発行元のモジュールのみ導入。
関連コマンド
- Connect-ExchangeOnlineExchange Onlineへ接続
- Get-Commandコマンド検索(PS)