# Trying to use PSDscResources, but get error...

**URL:** <https://forums.powershell.org/t/trying-to-use-psdscresources-but-get-error/8575>\
**Category:** DSC\
**Created:** [May 7, 2017, 6:28am UTC](https://forums.powershell.org/t/trying-to-use-psdscresources-but-get-error/8575 "2017-05-07T06:28:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgnetworksecurity](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jgnetworksecurity](https://forums.powershell.org/u/jgnetworksecurity)\
**Post date:** [May 7, 2017, 6:28am UTC](https://forums.powershell.org/t/trying-to-use-psdscresources-but-get-error/8575/1 "2017-05-07T06:28:15Z")

</div>

Ok, so I read that we should be using PSDscResources instead of built in module PSDesiredStateConfiguration, in some Microsoft docs, since it can be updated now and PSDesiredConfiguration can only be updated with every OS Refresh, but when I create a configuration and include the line `Import-DscResource -ModuleName PSDscResources -ModuleVersion 2.6.0.0` , I get a red line under it with the following error message:  
Resource Name “Archive” is already being used by another resource or configuration. I know what this problem is, the resources in PsDscResources are the same as the ones in PSDesiredStateCOnfiguration. I am also using ISESteroids, so that may be putting up this red line and error message, but does anybody know if there is a way to tell the ISE to use PSDscResources, and not the built-in PSDesiredStateCOnfiguration? Also I noticed that a lot of people online are still using the built-in resource. Did Microsoft change the recommendation to use PSDscResources instead???  
Thanks  
James

---

<div class="post-metadata">

**Author:** ![grayzu](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@grayzu](https://forums.powershell.org/u/grayzu)\
**Post date:** [May 8, 2017, 5:09pm UTC](https://forums.powershell.org/t/trying-to-use-psdscresources-but-get-error/8575/2 "2017-05-08T17:09:49Z")

</div>

Hey James,

We are looking into this issue now. We are able to reproduce it so will get back to you when I have more info.

MarkG

---

<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/trying-to-use-psdscresources-but-get-error/8575/3 "2024-05-16T21:16:42Z")

</div>


