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-Module
manually or automatically via$Profile
. The behavior was changed fromPackageManagement
to better align to PowerShell'sPSProvider
model where third party providers are loaded and removed viaImport-Module
andRemove-Module
.PackageManagement
didn'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
AnyPackage
is loaded or allowing user specified providers Maybe a cmdlet that sets if all providers are imported withAnyPackage
or a subset.