...
Run the code blocks in one of the following sections to update or install the latest version of the Graph PowerShell modules from the PSGallery:
To update or install the modulesmodule:
Code Block language powershell Update-Module -Name $PowerShellModuleName
To install or reinstall the modules:
Code Block language powershell Save-Module -Path "$env:ProgramFiles\WindowsPowerShell\Modules" -Name $PowerShellModuleName -Force