This PowerShell script will list the status of network printer and whether the printer connection is connected.
In a real word, office environment are always changing, users have been using the network for a long time. Many users will encounter some printer problems, but not all of the print problems are user related, sometime some problems from printer itself, especially the printers were offline. IT helpdesk always take a lot of time on it.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery