If you want to collect Deep logs (Intune Debug ODC Logs) from the machine, execute the below command this will collect all the required logs which may take more than 20Mins sometimes
wget https://aka.ms/intunexml -outfile Intune.xml
wget https://aka.ms/intuneps1 -outfile IntuneODCStandAlone.ps1
powerShell -ExecutionPolicy Bypass -File .\IntuneODCStandAlone.ps1
The above will creates a .zip file with the device name. which will have all the debug logs related to Intune troubleshooting.