File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -76,18 +76,18 @@ The `ModuleInfo` table format will add a column for `PSEditions` (shortened from
76
76
77
77
### Using Modules from System32 not declared as Compatible
78
78
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 ` .
80
80
81
81
If ` Import-Module ` is used with a module that is not declared in the manifest as compatible, it will throw a terminating error:
82
82
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.
84
84
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 ` .
86
86
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.
88
88
89
89
## Alternate Proposals and Considerations
90
90
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 ` ?
92
92
Users who want to search the entirety of the Windows PowerShell ` PSModulePath ` should use ` Add-WindowsPSModulePath ` cmdlet
93
93
from the ` WindowsCompatibility ` module.
You can’t perform that action at this time.
0 commit comments