Skip to content

Best Practices Module does not work with PowerShell 7 Preview #10540

@doctordns

Description

@doctordns

The BestPractices module does not load in PowerShell 7. It also does not load using WIndows Compatibility module.

Steps to reproduce

Import-Module -Name BestPractices
# or
Import-WinModule -Name BestPractices

Expected behaviour

I would have expected one or the other to have worked.

Actual behavior

Both fail.

Environment data

PS [C:\foo> ]> $PSVersionTable

Name Value


PSVersion 7.0.0-preview.3
PSEdition Core
GitCommitId 7.0.0-preview.3
OS Microsoft Windows 10.0.18980
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0, 6.1.0, 6.2.0, 7.0.0-preview.3}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions