Intune PowerShell Stuff
Install-Module psIntune$username = "betty.smith@contoso.com"
$devices = Get-PsIntuneDevice -UserName $username -DeviceOS Windows -Detail Detailed -ShowProgress$apps = Get-PsIntuneDeviceApps -UserName $username -ShowProgressWrite-psIntuneDeviceReport -Devices $devices -Apps $apps -Title "Contoso" -DeviceOS "Windows" -AzureAD -Overwrite -ShowThere are more options/parameters for each of these commands, and there are more commands in the module as well.
See documentation under Docs folder