December 8th, 2014

PowerTip: Zoom the PowerShell ISE

Doctor Scripto
Scripter

Summary: Use a Windows PowerShell command to increase zoom in the Windows PowerShell ISE.

Hey, Scripting Guy! Question How can I increase the zoom level in a script that I use to set up the Windows PowerShell ISE before presentations?

Hey, Scripting Guy! Answer Use the $host object and the PrivateData object, and set the zoom size to greater than 100.
           Here is an example that sets the zoom to 150 percent:

$Host.PrivateData.Zoom = 150

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback