![]() Only cmdlets for the installed modules will be available for use. ![]() For a list of available Microsoft Graph modules, use Find-Module Microsoft.Graph*. Consider only installing the necessary modules, including which is installed by default when you opt to install the sub modules individually. Installing the main module of the SDK, Microsoft.Graph, will install all 38 sub modules. Using the Install-Module cmdlet is the preferred installation method for the Microsoft Graph PowerShell module. To set the execution policy, run Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser For more information, see about_Execution_Policies. Use Get-ExecutionPolicy to determine the current execution policy. The PowerShell script execution policy must be set to remote signed or less restrictive. Update PowerShellGet to the latest version using Install-Module PowerShellGet -Force ![]() The following prerequisites are required to use the Microsoft Graph PowerShell SDK with Windows PowerShell. There are no additional prerequisites to use the SDK with PowerShell 7 or later. PowerShell 7 and later is the recommended PowerShell version for use with the Microsoft Graph PowerShell SDK on all platforms. In this article you will learn how to install the Microsoft Graph PowerShell SDK using PowerShellGet. The Microsoft Graph PowerShell SDK is published on the PowerShell Gallery.
0 Comments
Leave a Reply. |