Welcome › Forums › DSC (Desired State Configuration) › MOF on file share
This topic contains 4 replies, has 4 voices, and was last updated by
Is it possible to store my MOFs on a file share and reference it via UNC when running Set-DscLocalConfigurationManager or Start-DscConfiguration?
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.
DSC runs under the local SYSTEM account so that will need access too
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.