Install-PackageProvider #153
-
|
AnyPackage does not have the command |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
In the current architecture the only way is to import them with I do think there is value in adding a way to auto import available providers when |
Beta Was this translation helpful? Give feedback.
In the current architecture the only way is to import them with
Import-Modulemanually or automatically via$Profile. The behavior was changed fromPackageManagementto better align to PowerShell'sPSProvidermodel where third party providers are loaded and removed viaImport-ModuleandRemove-Module.PackageManagementdidn't have a way to remove providers other than restarting PowerShell.I do think there is value in adding a way to auto import available providers when
AnyPackageis loaded or allowing user specified providers Maybe a cmdlet that sets if all providers are imported withAnyPackageor a subset.