Use Powershell to setup Octopus manager

I am trying to setup octopus3 on an AWS EC2 using the commands that are produced from doing it manually.

.\Octopus.Server.exe create-instance --instance “OctopusServer” --config “D:\Octopus\OctopusServer.config”

however when running it in the backgroup i get the following error in my cfn log

Octopus Deploy: Server version 3.4.15 (3.4.15+Branch.master.Sha.338d6700fb9db1ea111b3c9869d4dfec526068e3)
Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.

Has anyone else put the octopus manager setup in an automation process?

Hi Stephanie,

Thanks for getting in touch! You can perform those commands via script but you need to add the --console flag to your commands it will not require the service to be running in the same way.
It is very similar to automating Tentacle install as we explain here: http://docs.octopus.com/display/OD/Automating+Tentacle+installation

Please let me know if that resolves your issue.
Vanessa