PowerShell 7 Compatibility with Windows PowerShell
Thomas Lee · 2020
PowerShell 7, like Windows PowerShell, is a .NET application—an application built on top of and leveraging the .NET Framework, particularly the base class libraries. The compatibility solution enables readers to use PowerShell 7 to manage a wide range of features in Windows Server, as demonstrated throughout this book. This chapter examines PowerShell modules, introduces the compatibility solution, and explains things that do not work with PowerShell 7. When Import-Module imports a module in compatibility mode, it creates a PowerShell remoting session to the local host using a Windows PowerShell remoting endpoint, named WinPSCompatSession. The compatibility solution does impose minor limitations caused by the serialization of data between the PowerShell 7 session and the compatibility remoting session. The default work-around for any Windows PowerShell compatibility issue is simply to not use PowerShell 7 until there is a solution to specific issues.
Cited by 0 works. doi:10.1002/9781119644750.ch2