Powershell Module für M365 installieren.
Ein paar Scripte unter: https://github.com/frankenfrank/microsoft/tree/main/M365
winget install –id Microsoft.PowerShell –source winget
pwsh
oder über das Startmenü gestartet.$PSVersionTable.PSVersion
$home\Documents\WindowsPowerShell\Modules\PackageManagement\
Import-Module "$home\Documents\WindowsPowerShell\Modules\PackageManagement\PackageManagement.psm1" -Force
Test-ModuleManifest -Path "$home\Documents\WindowsPowerShell\Modules\PackageManagement\PackageManagement.psd1"
Install-Module -Name AzureAD -Scope CurrentUser
Install-Module -Name ExchangeOnlineManagement -Scope CurrentUser
Install-Module -Name Microsoft.Graph -Scope CurrentUser
Install-Module -Name MicrosoftTeams -Scope CurrentUser