I wanted to print to a bunch of printers, im the tech at an elementary school, and want to print out "x days left!" every morning. I can print to one printer with
Start-Process -FilePath "c:\Classrooms\test.pdf" -Verb PrintTo -ArgumentList "\\server\printername" -PassThru | %{sleep 10;$_} | kill
but i want it to go through a list of printers just by running one script. I have zero experience with Powershell, and looking around online has not been very helpful, though i did get that far at least.
I would really appreciate your help!
Thanks
edit: turns out I'm restricted from running power shell scripts. first time my access hasn't been high enough. I can run single lines in powershell but not run .ps1
thanks for everyone's help though
If I for some reason needed to antagonize someone into a fight, a person playing Careless Whisper on a harp would be at the very bottom of the list, because what on earth is more chill than that
To threaten a street musician.
therewasanattempt