script

English

Windows Powershell - How to get available printers and print an Exceldocument

In this chapter I will describe how to print an Excel Woorksheet with Windows Powershell. The first thing we need to know when working with powershell automation of Microsoft Office Products is that we need to be logged on in order to interact with an Excel-, Word-, Powerpoint- or Publisher document. It works perfectly fine to run automated powershell scripts for Microsoft Office such as printing, creating documents or any other task in the background without opening up the GUI. But you need to be logged on.

English