Set execution policy:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Install module:
Install-Module -Name Microsoft.Graph.Intune -verbose
Import module:
Import-Module Microsoft.Graph.Intune -Verbose
Test imported module:
Get-Command -Module Microsoft.Graph.Intune
Intune backupandRestore scripts: