MOF on file share

Welcome Forums DSC (Desired State Configuration) MOF on file share

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

1 year, 6 months ago.

  • Author
  • #78166

    Points: 0
    Rank: Member

    Is it possible to store my MOFs on a file share and reference it via UNC when running Set-DscLocalConfigurationManager or Start-DscConfiguration?


  • #78169

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


  • #78172

    Points: 0
    Rank: Member

    Awesome! Thank you.

    Upon running Set-DscLocalConfigurationManager, I am getting "\\path\to\share\ is not a valid directory." I have access to the share through File Explorer, and my MOF is definitely located in the destination, so, not sure why it's saying this.

  • #78470

    Points: 101
    Helping Hand
    Rank: Participant

    DSC runs under the local SYSTEM account so that will need access too

  • #78485

    Points: 0
    Rank: Member

    Something like this:

    ConfigurationPath = "\\share\mof_files"

    Don't forget the Application Pool if you deploy the mof's with a pullserver, it needs the proper rights too.

The topic ‘MOF on file share’ is closed to new replies.

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