Upgrade to PowerShell 7#16075
Open
JunielKatarn wants to merge 72 commits intomicrosoft:mainfrom
Open
Conversation
Performance Test ResultsBranch: ✅ Passed161 scenario(s) across 28 suite(s) — no regressionsSectionList
FlatList
TouchableOpacity
ScrollView
TouchableHighlight
Pressable
Modal
Image
ActivityIndicator
Switch
Button
TextInput
View
Text
SectionList.native-perf-test.ts
FlatList.native-perf-test.ts
TouchableHighlight.native-perf-test.ts
TouchableOpacity.native-perf-test.ts
Pressable.native-perf-test.ts
ScrollView.native-perf-test.ts
ActivityIndicator.native-perf-test.ts
TextInput.native-perf-test.ts
Switch.native-perf-test.ts
Button.native-perf-test.ts
Modal.native-perf-test.ts
Image.native-perf-test.ts
View.native-perf-test.ts
Text.native-perf-test.ts
|
dannyvv
approved these changes
May 4, 2026
This reverts commit e1f3cfd.
Do not fall back to Windows PowerShell (powershell.exe). PowerShell code may not be backwards compatible.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of Change
Why
PowerShell 7 offers multiple performance improvements over Windows PowerShell (5.1).
🔍 PowerShell 7.x vs Windows PowerShell 5.1 — Performance & Security
ForEach-Object -Parallel) 【3-bc07e3】See https://techieramesh.com/devops/windows-automation/ps-5-1-vs-7-5-comparison/
What
vnext/dotnet-tools.json). (NuGet package to reduce set up footprint on the developer's machine).powershell.exewithpwsh.exe(except CMD and MSBuild files, for now).@react-native-windows/find-dotnet-toolsto provide a common set of functions to determine PowerShell's (and potentially any other DotNet tool) location.Sample error:
Testing
CI checks pass
Microsoft Reviewers: Open in CodeFlow