IntuneDriveMapping icon indicating copy to clipboard operation
IntuneDriveMapping copied to clipboard

Getting below error while running the script

Open Ashique-Abbas opened this issue 1 year ago • 1 comments

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 avatar Mar 25 '24 09:03 Ashique-Abbas

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

stephannn avatar Jun 11 '24 06:06 stephannn