Skip to content

Commit 2430094

Browse files
committed
rename -SkipCompatibilityCheck to -SkipEditionCheck
1 parent 72ecfda commit 2430094

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

2-Draft-Accepted/RFCNNNN-PSCore6-and-Windows-Modules.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,18 @@ The `ModuleInfo` table format will add a column for `PSEditions` (shortened from
7676

7777
### Using Modules from System32 not declared as Compatible
7878

79-
`Get-Module -ListAvailable` will support `-SkipCompatibilityCheck` switch to list all modules in `PSModulePath`.
79+
`Get-Module -ListAvailable` will support `-SkipEditionCheck` switch to list all modules in `PSModulePath`.
8080

8181
If `Import-Module` is used with a module that is not declared in the manifest as compatible, it will throw a terminating error:
8282

83-
> The module '{0}' could not be imported as it is not declared as compatible. Use `-SkipCompatibilityCheck` switch to override this check.
83+
> The module '{0}' could not be imported as it is not declared as compatible. Use `-SkipEditionCheck` switch to override this check.
8484
85-
`Import-Module` will support `-SkipCompatibilityCheck` switch to try and import the module regardless of `CompatiblePSEditions`.
85+
`Import-Module` will support `-SkipEditionCheck` switch to try and import the module regardless of `CompatiblePSEditions`.
8686
Since module auto-discovery does not expose cmdlets from modules not declared as compatible, explicit `Import-Module` with
87-
`-SkipCompatibilityCheck` is required to use potentially incompatible modules.
87+
`-SkipEditionCheck` is required to use potentially incompatible modules.
8888

8989
## Alternate Proposals and Considerations
9090

91-
Open issue: Should `CompatiblePSEditions` column only be added in `ModuleInfo` table format if used with `-SkipCompatibilityCheck`?
91+
Open issue: Should `CompatiblePSEditions` column only be added in `ModuleInfo` table format if used with `-SkipEditionCheck`?
9292
Users who want to search the entirety of the Windows PowerShell `PSModulePath` should use `Add-WindowsPSModulePath` cmdlet
9393
from the `WindowsCompatibility` module.

0 commit comments

Comments
 (0)