Is AgentId the same thing as RegistrationKey?

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?

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)

Ok thanks!!! This clears things up quite a bit :slight_smile: