Missing service that does exist

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 4 months, 2 weeks ago.

  • Author
    Posts
  • #72209

    Kevin
    Participant

    I've got some services like this in my config:

    Service OneContentAgent {
       Name = "OneContentControlCenterAgent"
       State = "Running"
    }
    Service BDI_Centricity {
       Name = "BDI_Centricity"
       State = "Running"
    }
    

    It gives me this error when I start my DSC configuration. "PowerShell DSC resource MSFT_ServiceResource failed to execute Set-TargetResource functionality with error message: The service 'BDI_Centricity' does not exist. Specify the path to the executable to create a new service"

    The service does exist! I've made sure the name is exactly the same. I've even copied and pasted in my script from the server I'm trying to configure, as well as typed it multiple times. The other service, "OneContentControlCenterAgent" works fine in my config.
    Any ideas why this keeps failing to find the service?

  • #72419

    Don Jones
    Keymaster

    If you run Get-Service on the node, does BDI_Centricity show up in the Name column?

You must be logged in to reply to this topic.