blog.icewolf.ch

Let's talk about IT!
posts - 2080, comments - 295, trackbacks - 0

My Links

Archives

Post Categories

icewolf

Microsoft.Graph PowerShell Module 1.10.0 released

Hi All,

A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Modules.



Check the installed Version and what's on the PowerShell Gallery

Get-InstalledModule Microsoft.Graph
Find-Module Microsoft.Graph


But remember, it's not one Module, it is a collection of Modules

Get-InstalledModule Microsoft.Graph*


I've published a PowerShell Script on my GitHub Account that uninstalls the old Modules and installs the newest one


You can run that directly in PowerShell with the Code below

#Run Script directly from GitHub
$ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/ExchangeOnline/GraphAPI/CleanupGraphModules.ps1"
Invoke-Expression $($ScriptFromGitHub.Content)




Check if everything worked

Get-InstalledModule Microsoft.Graph*



Regards
Andres Bohren


Print | posted on Thursday, June 23, 2022 9:03 AM | Filed Under [ PowerShell Microsoft365 ]

Powered by:
Powered By Subtext Powered By ASP.NET