在PowerShell ISE中,我想每次打开PowerShell ISE时打开一个默认脚本(Template)。
有没有办法可以实现?
谢谢
把它放在你的PowerShell ISEconfiguration文件中 。
要在当前机器上find您的个人ISEconfiguration文件,请检查以下值:
$profile.CurrentUserCurrentHost
要在当前机器上find默认的个人ISEconfiguration文件,请检查以下值:
$profile.AllUsersCurrentHost