# Can one dot source class DSC resource into PSM file?

**URL:** <https://forums.powershell.org/t/can-one-dot-source-class-dsc-resource-into-psm-file/11192>\
**Category:** DSC\
**Created:** [August 23, 2018, 11:28am UTC](https://forums.powershell.org/t/can-one-dot-source-class-dsc-resource-into-psm-file/11192 "2018-08-23T11:28:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregory-suvalian](https://avatars.discourse-cdn.com/v4/letter/g/9d8465/32.png) [@gregory-suvalian](https://forums.powershell.org/u/gregory-suvalian)\
**Post date:** [August 23, 2018, 11:28am UTC](https://forums.powershell.org/t/can-one-dot-source-class-dsc-resource-into-psm-file/11192/1 "2018-08-23T11:28:23Z")

</div>

Still not possible 2 years later

&nbsp;

&nbsp;

[https://stackoverflow.com/questions/37443897/can-i-stored-class-based-dsc-resource-in-separate-file-from-psm-file](https://stackoverflow.com/questions/37443897/can-i-stored-class-based-dsc-resource-in-separate-file-from-psm-file)

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [August 24, 2018, 8:36am UTC](https://forums.powershell.org/t/can-one-dot-source-class-dsc-resource-into-psm-file/11192/2 "2018-08-24T08:36:51Z")

</div>

PowerShell hasn’t released a new version since then, so I wouldn’t expect it to change.

---

<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:16pm UTC](https://forums.powershell.org/t/can-one-dot-source-class-dsc-resource-into-psm-file/11192/3 "2024-05-16T21:16:27Z")

</div>

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


