Closed
Description
The README.md lists:
Supported PowerShell Versions and Platforms
- Windows PowerShell 3.0 or greater
- PowerShell Core 6.1.0 or greater on Windows/Linux/macOS
However, this does not appear to be accurate:
[stormerider]$ pwsh
PowerShell 6.1.2
Copyright (c) Microsoft Corporation. All rights reserved.
https://aka.ms/pscore6-docs
Type 'help' to get help.
PS /Users/stormerider> Install-Module -Name PSScriptAnalyzer
PS /Users/stormerider> Import-Module -Name PSScriptAnalyzer
Import-Module : Minimum supported version of PSScriptAnalyzer for PowerShell Core is 6.2.0 but current version is '6.1.2'. Please update PowerShell Core.
At line:1 char:1
+ Import-Module -Name PSScriptAnalyzer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Minimum support...owerShell Core.:String) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : Minimum supported version of PSScriptAnalyzer for PowerShell Core is 6.2.0 but current version is '6.1.2'. Please update PowerShell Core.,Microsoft.PowerShell.Commands.ImportModuleCommand
PS /Users/stormerider>
Metadata
Metadata
Assignees
Labels
No labels