PowerTip: Zoom the PowerShell ISE


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

Comments (1)

  1. tommymaynard says:

    I was looking for a zoom reset option just the other day; I suppose $Host.PrivateData.Zoom = 100 is my answer. Thanks, Ed.

Skip to main content