IntuneDriveMapping
IntuneDriveMapping copied to clipboard
Getting below error while running the script
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
-
GroupFilter = $($d.GroupFilter -split ",") -
~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidArgument: (:) [], RuntimeException
- FullyQualifiedErrorId : ConversionSupportedOnlyToCoreTypes
@Ashique-Abbas, it is because of the PowerShell language mode you are using. Try putting the script in the ProgramFiles folder