Configuring Windows PowerShell

This section describes how to introduce Microsoft Graph PowerShell SDK on Windows computers.

[ Reference ]

 Execution of this task with an OS (for example, Windows 7) whose support by Microsoft has ended is not supported by this service.


The prerequisites for setting up Microsoft Graph PowerShell SDK are shown below.
If you use Windows 10, apply the latest Windows Update and then update PowerShell and .NET Framework.

OptionVersion
PowerShell5.1 or later
.NET Framework4.7.2 or later
    1. Start PowerShell with administrator privileges.
    2. Execute the following command to install the Microsoft.Graph module.
      * Select "Yes [Y]" if installations from the NuGet provider or PSGallery are allowed.

      Install-Module Microsoft.Graph