PowerShell 3.0 ISE needs '-version 2.0' option
Votes from Connect: 10
Original Date Submitted: 7/12/2012 9:58:36 PM
Site Name: PowerShell
Feedback ID: 753454
Frequency: Always Happens
Regression: Yes, this happens in previous beta versions
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).
powershell_ise -version 2.0
This should start an ISE that uses version 2 of the language
Internal BugId: 3706