Add PowerShell_ISE Startup Parameters
Votes from Connect: 16
Original Date Submitted: 6/16/2010 11:13:55 PM
Description:
Contact Information
Handle: cmille19
Site Name: PowerShell
Feedback ID: 568074
Frequency: Always Happens
Regression: No, this is new to the most recent version
Problem Description:
The normal PowerShell host supports startup parameters which facilitate building custom shells (i.e. SCOM, Exchange, Admin Tools etc.) callable from the Windows Start Menu. These custom shells either call a startup script that then load modules or import a console files with customizations.
Unfortunately, PowerShellISE does not support any startup parameters. For the module developer creating solutions which specifically target PowerShellISE.exe and NOT PowerShell.exe, this becomes an issue. Yes, there are workarounds of using/mis-using profiles but this is not ideal.
Please include the -Command and -File startup parameters in a future release of PowerShell_ISE
Product Studio item created by Connect Synchronizer due to creation of feedback ID 568074 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=568074).
Repro Steps:
N/A
Expected Results:
PowerShell_ISE -Command "C:\LoadMyPowerShellISEModule.ps1"
Internal BugId: 2573
