3

In PowerShell ISE, I would like a default script (Template) to open every time I open Powershell ISE.

Is there a way this could be achieved?

Thanks

1 Answer 1

7

Put it in your PowerShell ISE Profile.

To locate your personal ISE profile on the current machine, check the value of:

$profile.CurrentUserCurrentHost

To locate the default personal ISE profile on the current machine, check the value of:

$profile.AllUsersCurrentHost

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .