SetUpDSC nugget 74

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of H Man H Man 2 years, 5 months ago.

  • Author
    Posts
  • #16495
    Profile photo of H Man
    H Man
    Participant

    Copy \Dsc\PullDemo\MEMBER2.mof c:\ProgramData\PSDSCPullServer\Configuration\e528dee8-6f0b-4885-98a1-1ee4d8e86d82.mof

    after the file was created and named MEMBER2.mof how do you know what gUID to hard code(\e528dee8-6f0b-4885-98a1-1ee4d8e86d82.mof) in the copy-item destination portion?

    For Copy \Dsc\PullDemo\MEMBER3.mof what would the guid be?

    Sorry I'm a lil confused about that part

  • #16500
    Profile photo of Don Jones
    Don Jones
    Keymaster

    You make a new random guid and assign it to the file name and client mode. The guid doesn't really
    Come from anywhere.

  • #16502
    Profile photo of Daniel Krebs
    Daniel Krebs
    Participant

    H Man,

    You'll need to keep track of the machine name to GUID mapping. You can use a CSV / XML file, database table, etc. Some system are already providing a GUID to machine mapping (e.g. Active Directory GUID attribute if all your machines are domain-joined or System Center Configuration Manager) which you could potentially leverage.

  • #16503
    Profile photo of H Man
    H Man
    Participant

    ok thanks guys 🙂

You must be logged in to reply to this topic.