Cool PowerShell stuff in the summer

I’m currently working on lots of PowerShell stuff after an half of year at a customer.

And I want to share some nice stuff to you.

Some stuff will be nice to have and some stuff will not be.
But maybe It will be an opener for something better.

First out is a WMI, Print a test page to your Default Printer.

(Get-WmiObject -Class Win32_printer -Filter “Default = ‘True’”).PrintTestPage()

You need to run PowerShell as an Administrator to be able to do this…

It’s a simple oneliner.

Have a nice summer and have a great PowerShell time!

This entry was posted in PowerShell and tagged , , . Bookmark the permalink.

2 Responses to Cool PowerShell stuff in the summer

  1. Pingback: Fredrik Wall

  2. Pingback: Poweradmse

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>