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
{{ message }}
Repository navigation
Minimum version mismatch between docs and code #1456
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>
Activity
bergmeister commentedon Apr 21, 2020
Good catch, the readme needs to be updated. That is because PowerShell Core 6.1 itself is already out of support.