3

How can I install Web deploy for IIS on a server core version of Windows server. All examples Iv seen involve downloading a tool from Microsoft but Server core has a minimal GUI. Is there anyway to install this through powershell?

1 Answers1

0

This is an old question and you've probably solved it but nevertheless:

  • Download the web deploy msi from here https://www.microsoft.com/en-us/download/details.aspx?id=43717
  • put it in a path that your server core server can access
  • connect via Remote Desktop to the servers console (if it's a VM, connect through e.g the Hyper-V Manager)
  • cd to the folder where the downloaded WebDeploy msi is located (in my case C:\install)
  • run this command gci WebDeploy*.msi | % { msiexec /i $_.FullName }
  • now you'll get a small GUI for the installation, click through it.

now the installation has finished.

if you now can do Add-PSSnapin WDeploySnapin3.0 without errors, then WebDeploy is installed.

This was tested on a Windows Server 2019.

SimonS
  • 9,869