命令行启动 PowerShell ISE
Windows PowerShell ISE
应用程序的文件名为:powershell_ise.exe,在PowerShell控制台中可以直接输入”powershell_ise.exe”
来启动 Windows PowerShell ISE 环境。
另外 powershell_ise.exe
还有一个别名 ISE
,也可以直接启动Windows PowerShell ISE。
Powershell_ise.exe的参数:
- 默认启动:powershell_ise.exe
- 启动并打开多个脚本文件:powershell_ise.exe ”c:\a.ps1,c:\b.ps1”
- 不加载用户的配置文件:powershell_ise.exe –file ”c:\a.ps1” –NoProfile
- 在MTA模式下不加载用户配置:powershell_ise.exe -MTA –NoProfile
- 显示帮助信息:powershell_ise.exe -Help