# DSC Pull resources

**URL:** <https://forums.powershell.org/t/dsc-pull-resources/5900>\
**Category:** DSC\
**Created:** [March 2, 2016, 7:07pm UTC](https://forums.powershell.org/t/dsc-pull-resources/5900 "2016-03-02T19:07:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theonlyway](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/theonlyway/32/395_2.png) [@theonlyway](https://forums.powershell.org/u/theonlyway)\
**Post date:** [March 2, 2016, 7:07pm UTC](https://forums.powershell.org/t/dsc-pull-resources/5900/1 "2016-03-02T19:07:56Z")

</div>

Hi,

I’m currently new to DSC but I’ve got a pretty good grasp on it so far. I am in the process of building a custom resource and deploying it out via a pull server. For the most part everything in my configuration was all good until I got to this part.

I believe my issue is the format of the ZIP being stored in my DSC module directory for the pull server.

The module in my powershell module directory looks like this:

C:\PROGRAM FILES\WINDOWSPOWERSHELL\MODULES\XENABLEFIREWALL  
| xEnableFirewall.psd1  
|  
-–DSCResources  
-–xEnableFirewall  
xEnableFirewall.psm1  
xEnableFirewall.schema.mof  
xEnableFirewall.schema.mof.checksum

Of the above files how should they be zipped up? I’ve tried numerous combinations and none have worked. I am aware that it needs to be zipped like xEnableFirewall\_1.0.zip and a checksum created for the ZIP. The ZIP has at the very least the following included

```
---xEnableFirewall
        xEnableFirewall.psm1
        xEnableFirewall.schema.mof
        xEnableFirewall.schema.mof.checksum

```

But where do I put the psd1 that contains the version info etc?

I’ve tried it in pretty much almost every combination I can think of but no luck.

The LCM downloads the file to temp but then I get errors in my event log saying this depending on the location where I’ve put the psd1 file in the ZIP:

ErrorId is 0x6. ErrorDetail is Module file xEnableFirewall did not contain a module with required version 1.0.

or

The content validation for module xEnableFirewall completed with status code 6.

or

The content validation for module xEnableFirewall completed with status code 12.

---

<div class="post-metadata">

**Author:** ![theonlyway](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/theonlyway/32/395_2.png) [@theonlyway](https://forums.powershell.org/u/theonlyway)\
**Post date:** [March 2, 2016, 10:13pm UTC](https://forums.powershell.org/t/dsc-pull-resources/5900/2 "2016-03-02T22:13:19Z")

</div>

I figured it out. One of the previous threads in here ([https://powershell.org/forums/topic/why-is-my-pull-server-not-delivering-modules-wmf5-pp/](https://powershell.org/forums/topic/why-is-my-pull-server-not-delivering-modules-wmf5-pp/)). Gave me what I need.

Once I figured out what the format is it then revealed another issue that I was missing a } in my module and it throws an error that was making me look in the wrong spots.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 9:17pm UTC](https://forums.powershell.org/t/dsc-pull-resources/5900/3 "2024-05-16T21:17:05Z")

</div>

Closed on May 16, 2024, 9:17pm UTC


