vCenter

 View Only
  • 1.  How to start vCenter Services through PowerCLI?

    Posted Apr 01, 2013 09:29 AM

    Hi, we are trying to start the vCenter services through script, so need help with what command can be used for it.



  • 2.  RE: How to start vCenter Services through PowerCLI?

    Posted Apr 01, 2013 10:23 AM

    To start/stop Windows services you can use the "Start-Service"/"Stop-Service" PowerShell cmdlets. (e.g. Start-Service "VMware vCenter Server")

    André



  • 3.  RE: How to start vCenter Services through PowerCLI?

    Posted Apr 01, 2013 10:39 AM

    Thanks. I have a doubt, the Start/Stop service cmdlets are used for services which are already existant & have stopped for some reason right? I want to know that what cmdlets should be used to start them for the very first time.



  • 4.  RE: How to start vCenter Services through PowerCLI?

    Posted Apr 01, 2013 10:44 AM

    I'm not sure I understand what you want/need to achieve. With installing vCenter Server, the services are installed!?

    André



  • 5.  RE: How to start vCenter Services through PowerCLI?

    Posted Apr 01, 2013 10:50 AM

    Actually we are automating the vCenter registration with vShield Manager using PowerCLI. So for this first we have to start the services manually by accepting the EULA & selecting default settings, this starts the vCenter services. After that we run our script of REST Call API & get it registered. So here we are trying to do the manual part through scripts. Hence I need help with cmdlets to accept EULA & start the services.