This repository of PowerShell sample scripts show how to access Intune service resources. They demonstrate this by making HTTPS RESTful API requests to the Microsoft Graph API from PowerShell. - ...
Microsoft Corp will discontinue its Graph command-line interface tool next year, citing declining usage and overlap with existing developer tools as the company consolidates its software development ...
Why not just use Uninstall-Module? Microsoft Graph comes with a large number of modules and the installed versions and dependencies can sometimes cause issues when trying to update or reinstall them.