Skip to content

Minimum version mismatch between docs and code #1456

Closed
@jasmeralia

Description

@jasmeralia

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions