PowerTip: Zoom the PowerShell ISE

Doctor Scripto

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


Discussion is closed.

Feedback usabilla icon