nicolonsky / IntuneDriveMapping

Generate PowerShell scripts to map network drives on Intune managed Windows 10 devices
https://intunedrivemapping.azurewebsites.net/
MIT License
151 stars 18 forks source link

Getting below error while running the script #52

Open Ashique-Abbas opened 7 months ago

Ashique-Abbas commented 7 months ago

Transcript started, output file is C:\Users\ASHIQU~1\AppData\Local\Temp\DriveMapping.log

At C:\Users\Ashique Sayyed\Downloads\DriveMapping (1).ps1:33 char:25

stephannn commented 4 months ago

@Ashique-Abbas, it is because of the PowerShell language mode you are using. Try putting the script in the ProgramFiles folder