Configure LCM to get new DSCResources from Network share when standalone

This topic contains 3 replies, has 3 voices, and was last updated by  Edwin Ashdown 1 year, 6 months ago.

  • Author
  • #54180

    Edwin Ashdown

    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.


    • This topic was modified 1 year, 6 months ago by  Edwin Ashdown.
  • #54182

    Don Jones

    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

    Arie H

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

  • #54186

    Edwin Ashdown

    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.


You must be logged in to reply to this topic.