You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I tried the execution such as
• Install-Package -Name Az -Source PSGallery -SkipDependencies -RequiredVersion 4.7.0
• Install-Package -Provider PowerShellGet -Source PSGallery -RequiredVersion 4.7.0 -SkipDependencies Az
However, all of above report that parameter “SkipDependencies” cannot be found.
So I would like to ask whether Install-Package supports skipping installing dependencies? Or is there other way to install a module without its dependencies with PowerShellGet or PackageManagement?
The text was updated successfully, but these errors were encountered:
Hi team, I would like to ask whether there is a way to install one module without its dependencies using PowerShellGet or PackageManagement.
I find the -SkipDependencies in cmdlet Install-Package of PackageManagement ( https://docs.microsoft.com/en-us/powershell/module/packagemanagement/install-package?view=powershell-7) but without the example of how to use it.
And I tried the execution such as
• Install-Package -Name Az -Source PSGallery -SkipDependencies -RequiredVersion 4.7.0
• Install-Package -Provider PowerShellGet -Source PSGallery -RequiredVersion 4.7.0 -SkipDependencies Az
However, all of above report that parameter “SkipDependencies” cannot be found.
So I would like to ask whether Install-Package supports skipping installing dependencies? Or is there other way to install a module without its dependencies with PowerShellGet or PackageManagement?
The text was updated successfully, but these errors were encountered: