Configure LCM to get new DSCResources from Network share when standalone

Welcome Forums DSC (Desired State Configuration) Configure LCM to get new DSCResources from Network share when standalone

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

2 years, 6 months ago.

  • Author
  • #54180

    Points: 0
    Rank: Member

    Hi All,

    I am attempting to configure remote LCMs to retreive any DSCResources for a file share when they are Standalone i.e. not configured as Push or Pull.

    I have built an application that will generate my MOF from a template and run the it against any registered Node that is in a particular Role.

    But when i call Start-DscConfiguration i need the remote Node to pull the DSCResources from a defined file share location that i configure and i dont want to have a pull server configured or a a local Node push configuration.

    I have tried configuring the downloadManager etc but it complains of a Agent_ID.

    At present i am not sure if it is even possible so thats why i am asking.
    Or should i just copy them DSCResources to the registered Modeul Locatin on the remote Noeds ?

    Thank you i advance for any help.


  • #54182

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    It is possible, yes. I cover this in, in fact. You need to configure a ResourceModuleManager section; a DownloadManager is for downloading MOFs in Pull mode. So you'd set up a:

    ResourceRepositoryWeb ModuleSource {
    AllowUnsecureConnection = $false
    RegistrationKey = '140a952b-b9d6-406b-b416-e0f759c9c0e4'
    ServerURL = ''

    That's for HTTP, of course, you could also do File if you prefer, and its configuration is slightly different.

  • #54185

    Points: -19
    Rank: Member

    As a side note, there's no such thing as a "standalone".
    LCM default state is Push.

  • #54186

    Points: 0
    Rank: Member

    Hi Don,

    Thank you for the very quick reply.

    I was contemplating buying your book but i will definitely get now as it covers exactly what i need.


The topic ‘Configure LCM to get new DSCResources from Network share when standalone’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort