This module provides compatibility utilities that allow PowerShell Core sessions to
invoke commands that are only available in Windows PowerShell. These utilities help you
to discover available modules, import those modules through proxies and then use the module
commands much as if they were native to PowerShell Core.

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name WindowsCompatibility

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name WindowsCompatibility

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



Copyright (c) Microsoft Corporation. All rights reserved

Package Details


  • PowerShell


WindowsPowerShell Compatibility Core


Initialize-WinSession Add-WinFunction Invoke-WinCommand Get-WinModule Import-WinModule Compare-WinModule Copy-WinModule Add-WindowsPSModulePath




This module has no dependencies.

Release Notes

This module provides a set of commands that allow you to use
Windows PowerShell modules from PowerShell Core (PowerShell 6).
The following commands are included:
See the help for the individual commands for examples on how
to use this functionality.

Additionally, the command `Add-WindowsPSModulePath` will update
your $ENV:PSModulePath to include Windows PowerShell module directories
within PowerShell Core 6.

NOTE: This release is only intended to be used with PowerShell Core 6
running on Microsoft Windows. Linux and MacOS are not supported at this


Version History

Version Downloads Last updated
1.0.0 (current version) 2,704,756 11/15/2018
1.0.0-rc1 191 10/19/2018
0.0.1 1,962 6/7/2018