Best Practices Module does not work with PowerShell 7 Preview
See original GitHub issueThe 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
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Migrating from Windows PowerShell 5.1 to PowerShell 7
PowerShell 7 works side-by-side with Windows PowerShell letting you easily test and compare between editions before deployment. Migration is ...
Read more >MSOnline not working in PowerShell 7
The problem appears when I try using Connect-MsolService on PowerShell 7.1.1 I get an error saying the cmdlet does not exist, but when...
Read more >PowerShell 7 Preview 3
If you have issues with a Microsoft PowerShell module, please open an issue in the PowerShellModuleCoverage repository!
Read more >Differences between Windows PowerShell 5.1 and ...
This article summarizes the differences and breaking changes from Windows PowerShell 5.1 and the current version of PowerShell that is based ...
Read more >What's New in PowerShell 7.3
In this release, Windows APIs were updated or removed for compliance, which means that PowerShell 7.3 doesn't run on Windows 7.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It is standard module in Windows Server. It is not marked as PowerShell Core compatible. Please report in https://github.com/PowerShell/WindowsCompatibility repository.
@doctordns Your report is not in right repo. If you want the module works with WIndows Compatibility module please report in https://github.com/PowerShell/WindowsCompatibility.
Also MSFT team has https://github.com/PowerShell/PowerShellModuleCoverage to track Windows PowerShell module compatibility.
I wonder you ask again because you already reported there. Sorry if I misled you.