Forum Discussion
ABill1
Oct 12, 2023Iron Contributor
deploying printer via intune
Hello everyone, I'm in need of assistance with the following script I'm currently using: powershell # Replace the placeholders with your details $inf_path = ".\driver\KOBxxK__01.inf" $drive...
- Oct 16, 2023Seems ok if you copy all the files in a folder on a test machine (Or Windows Sandbox) and run install.cmd as Administrator... Does that work?
ABill1
Oct 16, 2023Iron Contributor
Hi,
It doesnt seem to even get that far to create the logs..
The only difference I can see is in the install.cmd I use the command is all lowercase and the file includes uppercase letters would that make a difference?
So command within install.cmd is powershell.exe -executionpolicy bypass -file .\add_printers.ps1 the ps1 is put uppercase Add_Printers.ps1
It doesnt seem to even get that far to create the logs..
The only difference I can see is in the install.cmd I use the command is all lowercase and the file includes uppercase letters would that make a difference?
So command within install.cmd is powershell.exe -executionpolicy bypass -file .\add_printers.ps1 the ps1 is put uppercase Add_Printers.ps1
Oct 16, 2023
It's not case-sensitive. That shouldn't make any difference. Could you post a screenshot of your files in a folder, the installation command in Intune, and the contents of the install.cmd? (It's not install.cmd.txt I hope, I helped somebody else who had that as the filename because he didn't have show extensions enabled in the Windows Explorer)
- ABill1Oct 16, 2023Iron Contributor
- Oct 16, 2023Seems ok if you copy all the files in a folder on a test machine (Or Windows Sandbox) and run install.cmd as Administrator... Does that work?
- studiohexabitApr 18, 2024Copper Contributor
Harm_Veenstra am I the only one who noticed that port which you are using is already in use 😂😂?