You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- The version of Newtonsoft.Json needs to be newer than the version in the oldest supported version of PowerShell 7: https://github.com/PowerShell/PowerShell/blob/v7.2.17/src/System.Management.Automation/System.Management.Automation.csproj#L15 -->
Copyright='(c) Microsoft Corporation 2016. All rights reserved.'
23
+
Copyright='(c) Microsoft Corporation 2025. All rights reserved.'
24
24
25
25
# Description of the functionality provided by this module
26
26
Description='PSScriptAnalyzer provides script analysis and checks for potential code defects in the scripts by applying a group of built-in or customized rules on the scripts being analyzed.'
27
27
28
28
# Minimum version of the Windows PowerShell engine required by this module
29
-
PowerShellVersion='3.0'
29
+
PowerShellVersion='5.1'
30
30
31
31
# Name of the Windows PowerShell host required by this module
Copy file name to clipboardExpand all lines: PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj
* If building for Windows PowerShell versions, then the .NET Framework 4.6.2 [targeting pack](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462) (also referred to as developer/targeting pack) need to be installed. This is only possible on Windows.
77
-
* Optionally but recommended for development: [Visual Studio 2017/2019](https://www.visualstudio.com/downloads)
76
+
- If building for Windows PowerShell versions, then the .NET Framework 4.6.2 [targeting pack](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462) (also referred to as developer/targeting pack) need to be installed. This is only possible on Windows.
77
+
- Optional but recommended for development: [Visual Studio 2022](https://www.visualstudio.com/downloads)
78
+
- Or [Visual Studio Code](https://code.visualstudio.com/download)
78
79
-[Pester v5 PowerShell module, available on PowerShell Gallery](https://github.com/pester/Pester)
79
80
-[PlatyPS PowerShell module, available on PowerShell Gallery](https://github.com/PowerShell/platyPS/releases)
80
-
- Optionally but recommended for development: [Visual Studio](https://www.visualstudio.com/downloads)
81
81
82
82
### Steps
83
83
@@ -110,18 +110,6 @@ To install **PSScriptAnalyzer** from source code:
110
110
.\build.ps1 -PSVersion 5
111
111
```
112
112
113
-
- Windows PowerShell version 4.0
114
-
115
-
```powershell
116
-
.\build.ps1 -PSVersion 4
117
-
```
118
-
119
-
- Windows PowerShell version 3.0
120
-
121
-
```powershell
122
-
.\build.ps1 -PSVersion 3
123
-
```
124
-
125
113
- PowerShell 7
126
114
127
115
```powershell
@@ -134,7 +122,7 @@ To install **PSScriptAnalyzer** from source code:
134
122
.\build.ps1 -Documentation
135
123
```
136
124
137
-
- Build all versions (PowerShell v3, v4, v5, and v6) and documentation
125
+
- Build all versions (PowerShell v5 and v7) and documentation
0 commit comments