Manikyam Bavandla

Results 15 comments of Manikyam Bavandla

@pldmgg Yes, it is required to start a new PowerShell Session to load the newly installed versions of PackageManagement and PowerShellGet modules. Please take a look at 'Get the latest...

@sueimi2015 Can you please get more details to reproduce the reported issue? Also get the output of below commands from a new PowerShell console. ```PowerShell Register-PSRepository -Default -Verbose -Debug Get-PSRepository...

Can you please share the contents of $env:LOCALAPPDATA\Microsoft\Windows\PowerShell\PowerShellGet\PSRepositories.xml file? As a workaround, run `Get-PSRepository` command after deleting the $env:LOCALAPPDATA\Microsoft\Windows\PowerShell\PowerShellGet\PSRepositories.xml file.

@sueimi2015 Below error can also happen when you try to register a source location which needs your credentials. It looks like your JFrog repository requires your credentials. ```PowerShell PackageManagement\Register-PackageSource :...

Please take a look at https://github.com/PowerShell/PowerShellGet/issues/245#issuecomment-376694015 to resolve the 'Cannot prompt for input in non-interactive mode.' issue.

Since the credential option is not supported on NuGet.exe, below command is required for publishing to an authenticated sources/repositories. ```powershell .\NuGet.exe sources Add -Name "psgettestfeed" -Source "https://myrepo.pkgs.visualstudio.com/_packaging/psgettestfeed/nuget/v2" -UserName [email protected] -Password...

@bradleywehmeie, thanks for looking into this feature request. Yes, `$script:PSGetProgramDataPath` is the right place for this configuration file. For non-Windows platforms, please update the $script:PSGetProgramDataPath to '/usr/local/share/powershellget'. Current: ```powershell $script:PSGetProgramDataPath...

@bradleywehmeier If a user is trying to unregister an AllUsers scoped repository, it is required to ensure that user has the admin privileges similar to the Uninstall and Update cmdlets....

Also please consider validating the install and update scenarios with the duplicate psrepository names as the source locations can be different.

@bradleywehmeier thanks for looking into this feature! Some thoughts - By default, Get-PSRepository cmdlet should list all the registered repositories in both scopes (CurrentUser and AllUsers). We need to add...