Skip to content

Add SkipEditionCheck switch docs, update CompatiblePSEditions docs #4039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 28, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Final changes
  • Loading branch information
Robert Holt committed Mar 28, 2019
commit 3f6e92278f37fc110a148cf8157557c7392fe662
2 changes: 1 addition & 1 deletion gallery/concepts/module-psedition-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,6 @@ Find-Module -Tag PSEdition_Core

[Update module manifest](/powershell/module/powershellget/update-modulemanifest)

[about_PowerShell_Editions]
[about_PowerShell_Editions][]

[about_PowerShell_Editions]: ../../reference/6/Microsoft.PowerShell.Core/About/about_PowerShell_Editions.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,13 @@ to catch possible behavioral differences between editions. For this you must sti

## See also

- [about_Automatic_Variables](about_Automatic_Variables.md)
- [Import-Module](../Import-Module.md)
- [Get-Module](../Get-Module.md)
- [Modules with compatible PowerShell Editions](../../../../gallery/concepts/module-psedition-support.md)
[about_Automatic_Variables](about_Automatic_Variables.md)

[Import-Module](../Import-Module.md)

[Get-Module](../Get-Module.md)

[Modules with compatible PowerShell Editions](../../../../gallery/concepts/module-psedition-support.md)

[Pester]: https://github.com/pester/Pester/wiki/Pester
[PSScriptAnalyzer]: https://github.com/PowerShell/PSScriptAnalyzer
Expand Down
5 changes: 5 additions & 0 deletions reference/6/Microsoft.PowerShell.Core/Import-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,11 @@ On Linux and macOS, this switch does nothing.

See [about_PowerShell_Editions] for more information.

> [!WARNING]
> `Import-Module -SkipEditionCheck` is still likely to fail to import a module. Even if it does
> succeed, invoking a command from the module may later fail when it tries to use an
> incompatible API.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Expand Down