I do not take credit for this script. Originally developed by Nicola Suter.
Generate Intune ready PowerShell scripts to map file shares on Windows 10 clients. Without scripting effort.
- (Optional) Export your existing group policy configuration which contains the network drive (drive mapping)configuration to an xml file
- Upload the configuration or generate a new one from scratch in the intune-drive-mapping-generator by Nicola Suter
- Download your generated PowerShell script
- Deploy the PowerShell script with Microsoft Intune