As I am moving homes I have not had enough time lately to create too much blog material. I spend most of my time on actions like painting and cleaning right now (Also important ofcourse).
Nonetheless, a very small script here to allow for you to set a default printer within Windows using Powershell. This can be useful in combination with remote monitoring software or similar when customers don’t make use of GPO’s or other means of easier deployment.
This script makes use of basic WMI objects to either list all existing printers or give the ability to set one.
Making use of a simple variable to choose your option and another to set a printer name, this one is very easy to use.
While the use of it is very niche, there are times whereby the targets simply don't have GPO's, Microsoft Intune or anything remotely similar. During those troubling times the script can have its use combined with a software package capable of spreading and/or executing it on remote devices.
While extremely basic, I still hope it someone gets some inspiration or new idea's when working on their scripts.
Categories: Windows, Powershell, Script, Printer
Patrick Berger AKA Powershellder.
[ i ] Parallax section below. Click on the section below to upload image. Don't worry if it looks weird in the Weebly editor. It'll look normal on your published site.
To edit or delete your image, press the "toggle" button below. Then, hover over your image until a popup appears with the "edit" and "delete" options. If you don't want a white content section, leave it blank. It will disappear on your live website.