Is AgentId the same thing as RegistrationKey?

Welcome Forums DSC (Desired State Configuration) Is AgentId the same thing as RegistrationKey?

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 years, 7 months ago.

  • Author
    Posts
  • #38720

    Participant
    Points: 0
    Rank: Member

    When registering a new client mode I notice that the agentid does not equal the registration key I set up in the DSC script to register it to my pull server. Are these supposed to be the same?

  • #38722

    Participant
    Points: -19
    Rank: Member

    They are not.

    RegistrationKey is what your nodes use for the initial registration to the node, its not used afterwards.

    The AgentID is how the pull server keeps track of the distinct node.

    you cant set the AgentID: When a node registers to the pullserver, the node will get an AgentID or if you run Get-DSCLocalConfigurationManager for the first time, an AgentId will be set (its recorded in the Registry)

  • #38728

    Participant
    Points: 0
    Rank: Member

    Ok thanks!!! This clears things up quite a bit 🙂

The topic ‘Is AgentId the same thing as RegistrationKey?’ is closed to new replies.