1
Vote

Install-Package/Uninstall-Package Fails Silently in Remote Session

description

From an interactive remote session calling Install-Package or Uninstall-Package just returns a prompt back. No warning or error to indicate that the package was not successfully installed or uninstalled on the remote endpoint. In addition specifying -Verbose or -Whatif have no effect.

Image

Would be quite cool to have the ability to install and uninstall packages remotely via Remoting.

comments

boeprox wrote Apr 9, 2014 at 1:53 AM

Someone else seemed to have success with using the -Force parameter to install a package and blogged about it:

http://mikefrobbins.com/2014/04/08/using-the-powershell-version-5-preview-oneget-module-with-powershell-remoting/