Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
みなさん、こんにちは。
以前紹介した Dynamics CRM 組織用の PowerShell モジュールですが、
インストールを簡易化するため、PowerShell Gallery に公開しました。
モジュールの概要は以下をご覧ください。
Dynamics CRM: 組織用 PowerShell の紹介
PowerShell Gallery とは
https://www.powershellgallery.com/
PowerShell Gallery は DSC (Desired State Configuration) のリソースや
PowerShell コマンドを公開できるレポジトリで、PowerShellGet モジュール
を利用して簡単に検索やダウンロードができる仕組みを提供します。
※現在はまだプレビューです。
Windows 10 をご利用の場合は既定でモジュールが組み込まれていますが
それ以外の場合には、上記サイトから必要なモジュールをダウンロード
してください。
モジュールの検索
モジュールは Find-Module コマンドで検索が可能です。
1. PowerShell を起動します。
2. 以下のコマンドを実行します。
> Find-Module Microsoft.Xrm.Data.PowerShell
3. 以下のように結果が表示されます。
モジュールのインストール
モジュールは Install-Module コマンドで行えます。
1. 管理者権限で PowerShell を起動します。
2. 以下のコマンドを実行します。
> Install-Module Microsoft.Xrm.Data.PowerShell
※現在のユーザーでのみ利用する場合は -Scope CurrentUser をつけます。
モジュールのアンインストール
モジュールは Uninstall-Module コマンドで行えます。
是非一度お試しください。
- 中村 憲一郎