Are multiple ConfigurationNames in the LCM possible for a system?

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of TyMac711 TyMac711 7 months ago.

  • Author
    Posts
  • #38906
    Profile photo of TyMac711
    TyMac711
    Participant

    Looking at the ConfigurationNames parameter in my LCM registration script:

    ConfigurationNames = @("MyDSCtestConfig")

    ...it would appear I could insert multiple configurations like so:

    ConfigurationNames = @("MyDSCtestConfig", "MyOtherTestConfig")

    Is that possible? Here could be the full config:

    [DSCLocalConfigurationManager()]
    Configuration SampleRegistrationMetaConfig
    {

    Settings
    {
    RefreshFrequencyMins = 30;
    RefreshMode = "PULL";
    ConfigurationMode = "ApplyAndAutoCorrect";
    AllowModuleOverwrite = $true;
    RebootNodeIfNeeded = $true;
    ConfigurationModeFrequencyMins = 60;

    }

    ConfigurationRepositoryWeb ConfigurationManager
    {
    ServerURL = "http://server01:8080/PSDSCPullServer.svc"
    RegistrationKey = "xxxxxx-xxxx-xxxx-xxxxxxx"
    ConfigurationNames = @("MyDSCtestConfig", "MyOtherTestConfig")
    AllowUnsecureConnection = $true
    }
    }

    SampleRegistrationMetaConfig -outputpath C:\test
    Set-DscLocalConfigurationManager -Path C:\dtest -Verbose

  • #38910
    Profile photo of Arie H
    Arie H
    Participant

    Yes they are.

    Follow and read the first link in the reply and follow the discussions.

  • #38953
    Profile photo of TyMac711
    TyMac711
    Participant

    Got it working with the information in that link... thanks!!!

You must be logged in to reply to this topic.