1) Try watching the following video that explains how their script generator works and how to import it into Intune:
S02E18 - How to Map Network Drives on Microsoft Intune Devices - (I.T)
https://www.youtube.com/watch?v=hHtXFeuHkC4
2) This also comes with a generator that uses your GPO XML Export (you can also start from scratch and provide the UNC paths):
https://intunedrivemapping.azurewebsites.net/DriveMapping
3) Once your export the PowerShell script you will use it in your Intune environment as seen in the video above.
4) Here is the github/documentation for the tool provided:
https://github.com/nicolonsky/IntuneDriveMapping/wiki
--------------------------------------
If this is helpful please accept answer.