Intune PowerShell Stuff
Install-Module psIntune
$username = "[email protected]"
$devices = Get-PsIntuneDevice -UserName $username -DeviceOS Windows -Detail Detailed -ShowProgress
$apps = Get-PsIntuneDeviceApps -UserName $username -ShowProgress
Write-psIntuneDeviceReport -Devices $devices -Apps $apps -Title "Contoso" -DeviceOS "Windows" -AzureAD -Overwrite -Show
There are more options/parameters for each of these commands, and there are more commands in the module as well.
See documentation under Docs folder