Product: PowerShell Universal
Version: 5.4.2Hey All!
I have a brand new install of Powershell Universal Server on Window Server 2019 Standard Evaluation, with default settings (System account, SQLlite DB, etc). In my network there is a proxy server (http://proxyurl.local:8081 without a user), which I’ve configured in the settings. However for some reason I don’t have access to the PSGallery modules. I searched for “SQLServer”, it loads and then just shows “no data”. In the system log I can see the following. Any idea why this is the case?
2025-03-18 15:15:36.060 +01:00 [ERR][Universal.Server.Services.ModuleService] Error while searching for module System.Management.Automation.CmdletInvocationException: Name parameter must be provided, unless Tag or Type parameters are used. ---> System.Management.Automation.PSInvalidOperationException: Name parameter must be provided, unless Tag or Type parameters are used. at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord) --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.AsyncResult.EndInvoke() at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location --- at Universal.Server.Services.ModuleService.FindModule(String repository, String searchText, Boolean prerelease, IEnumerable1 tags) in D:\a\universal\universal\src\Universal.Server\Services\ModuleService.cs:line 52
2025-03-18 15:15:36.065 +01:00 [ERR][Universal.Server.Services.ModuleService] Error while searching for module
System.Management.Automation.CmdletInvocationException: Name parameter must be provided, unless Tag or Type parameters are used.
—> System.Management.Automation.PSInvalidOperationException: Name parameter must be provided, unless Tag or Type parameters are used.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
— End of inner exception stack trace —
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
— End of stack trace from previous location —
at Universal.Server.Services.ModuleService.FindModule(String repository, String searchText, Boolean prerelease, IEnumerable1 tags) in D:\a\universal\universal\src\Universal.Server\Services\ModuleService.cs:line 52 2025-03-18 15:15:37.879 +01:00 [ERR][Universal.Server.Services.ModuleService] Error while searching for module System.Management.Automation.CmdletInvocationException: Name parameter must be provided, unless Tag or Type parameters are used. ---> System.Management.Automation.PSInvalidOperationException: Name parameter must be provided, unless Tag or Type parameters are used. at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord) --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.AsyncResult.EndInvoke() at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location --- at Universal.Server.Services.ModuleService.FindModule(String repository, String searchText, Boolean prerelease, IEnumerable1 tags) in D:\a\universal\universal\src\Universal.Server\Services\ModuleService.cs:line 52
`
