Open Ashique-Abbas opened 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
+ 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
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