Archives for Sems

Getting list of printers from command line

powershell 'get-printer | format-table' Run this via cmd line… Alternatively, run it in powershell as get-printer | format-table Sample output looks like: Name ComputerName Type DriverName PortName Shared Publishe d ---- ------------ ---- ---------- -------- ------ -------- OneNote for Windows 10 Local ...
Read more

Checking list of software from Command Line

I needed to check software installs on multiple machines. One thing I found was to utilize WMI (Windows Management Instrumentation). The command is simple: wmic product where 'name like '%%Office%%'' get name Above searches the installed programs ...
Read more

Rename a PC via command line

Sometimes it comes very handy to do tasks via command prompt, especially when you are dealing with many PCs at one time. When I setup PCs, I give them proper names, instead of usual DESKTOP-SERIAL ...
Read more
1 2 3 14