So I am writing a powershell script to install all of the printers in my office.
But first, I want it to open the Devices and Printers Folder.
Then, after all the printers have been installed, I want it to close that folder.
When I go to the control panel, I can make a shortcut to Devices and Printers on my desktop.
The lnk points to “Control Panel\Hardware and Sound\Devices and Printers”.
Does anyone have any ideas on how to do this?
To open it, you can type
To close it, you can use a COM object to control the shell