How to Install Powershell version 7 and Install Microsoft Graph Module in Windows 10/11 step by step

Опубликовано: 08 Март 2026
на канале: Microsoft & beyond
328
11

Install PowerShell version 7
Current version check

$PSVersionTable.PSVersion

Run cmd:

iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"

Install Microsoft Graph Module

Set-ExecutionPolicy RemoteSigned -Force

Install-Module PowershellGet -Force

Install-Module Microsoft.Graph -Force

Connect MS Graph
Connect-MgGraph -Scopes "User.Read.All"

Get Info
C:\scripts\.\Get-MgInfo.ps1

Scripts
https://drive.google.com/file/d/1Bru6...

Check user
Get-MgUser -All