Read more about the module at: Gpresult Like Tool For Intune
Install the module from the PowerShell Gallery for the current user using the following command:
Install-Module -Name IntuneDebug -Scope CurrentUseror for all users on the computer using the following command (requires admin rights):
Install-Module -Name IntuneDebug -Scope AllUsers