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