PowerShell 3.0 ISE needs '-version 2.0' option
Votes from Connect: 10
Original Date Submitted: 7/12/2012 9:58:36 PM
Description:
Contact Information
Handle: sba
Site Name: PowerShell
Feedback ID: 753454
Frequency: Always Happens
Regression: Yes, this happens in previous beta versions
Problem Description:
Given that PS3 will not be available for legacy operating systems, and that PS3 will not be deployed everywhere overnight, it is currently required to write scripts that are backwards-compatible with PS2.
This can be achieved by:
- using 'Set-StrictMode-version 2.0'
- testing in a host created by running 'powershell -version 2.0'
But it's not possible to develop using the ISE in PS2 mode.
IMVHO this makes migration to PS3 more difficult and time-consuming than it has to be.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 753454 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=753454).
Repro Steps:
powershell_ise -version 2.0
fails
Expected Results:
This should start an ISE that uses version 2 of the language
Internal BugId: 3706
