PowerShellGetv2
PowerShellGetv2 copied to clipboard
PowerShellGet is the Package Manager for PowerShell
It would be great if there was a parameter in the next version of PowerShellGet that would work like -AllowClobber but does the opposite. Something like "-OnlyOnce", "-Unique", "-Single" or...
## Context PS C:\WINDOWS\system32> Register-PSRepository -Default PackageManagement\Register-PackageSource : The property 'Name' cannot be found on this object. Verify that the property exists. At C:\Program Files\WindowsPowerShell\Modules\PowershellGet\1.6.5\PSModule.psm1:11284 char:17 + ... $null =...
As more module authors are trying to support cross-platform and cross-PowerShell (Windows PowerShell versions and PSCore6), PSGet should adopt same packaging as nupkg for [multiple runtimes](https://docs.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks#architecture-specific-folders). Conceptually, the module author...
I have a little script that I'm working on that attempts to update the PackageManagement and PowerShellGet Modules in PowerShell Core if they're not the latest. It seems like I'm...
Modified the functions to include the LiteralPath parameter. If Path parameter is null, then the value in LiteralPath is assigned to Path. Every thing else remains same.
Not all the functions that have a `Path` parameter have a corresponding `LiteralPath` parameter. Found this while implementing #53. Steps to reproduce ------------------ ```powershell $functions = Get-Command -Module PowerShellGet -ParameterName...
https://github.com/PowerShell/PowerShellGet/blob/3809c766a9e0fa1dc9c69d8dca38522b7de7d3a0/DSC/Examples/Resources/PSRepository/2-PSRepository_RemoveRepositoryConfig.ps1#L68 should be RemoveRepository
If you download a module using `Save-Module`, the module comes with a hidden xml file that contains metadata related to the gallery from which it was saved. This is useful...
Steps to reproduce ------------------ ```powershell Update-Module Az.cnd -verbose -whatif ``` Expected behavior ----------------- ```none provides whatif output ``` Actual behavior --------------- ```none Attempts to install the module if new version...
For reference, see the discussion on [PowerShell/PowerShell#10318](https://github.com/PowerShell/PowerShell/pull/10318). That PR ensures that the `workflow` keyword results in a parse error. If you build that PR and run it, and try to...