IT Process Automation

  • 1.  Which Proces to use For Windows Service Start and Stop action in CA PAM

    Posted Jan 20, 2016 02:24 AM

    Hi , I want to build used case ,where I am going to perform start and stop action for Windows Server Services. I found couple of  Out of the box Process under Command, But would like to know if there is any other way available to perform same action. Regards, Shweta



  • 2.  Re: Which Proces to use For Windows Service Start and Stop action in CA PAM
    Best Answer

    Broadcom Employee
    Posted Jan 25, 2016 01:24 PM

    I'm not aware of a way to do this out-of-the-box.  You would need to execute some sort of command on the windows machine.  Perhaps a google search will give you a command that you can run via command line to stop/start Windows Services.



  • 3.  Re: Which Proces to use For Windows Service Start and Stop action in CA PAM

    Posted Jan 27, 2016 01:45 PM

    Hi,

     

    There are a few easy ways to do this, you can use the run command to do a simple "net stop servicename" then "net start servicename"

     

    Or for more control/scriptability you can use PowerShell

    Stop-Service -DisplayName 'CA Agent Monitor'

    Start-Service -DisplayName 'CA Agent Monitor'

     

    Both would need to be run by system, or an account with the proper privileges.