# Using DSC Pull server to configure a new pull server

**URL:** <https://forums.powershell.org/t/using-dsc-pull-server-to-configure-a-new-pull-server/2758>\
**Category:** DSC\
**Created:** [June 27, 2014, 5:42am UTC](https://forums.powershell.org/t/using-dsc-pull-server-to-configure-a-new-pull-server/2758 "2014-06-27T05:42:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![geekapproved](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@geekapproved](https://forums.powershell.org/u/geekapproved)\
**Post date:** [June 27, 2014, 5:42am UTC](https://forums.powershell.org/t/using-dsc-pull-server-to-configure-a-new-pull-server/2758/1 "2014-06-27T05:42:09Z")

</div>

Hello,

I’m trying to use the xPSDesiredStateConfiguration resource to configure a new pull server.  
Here is the set up:

Current pull server set up at: [http://server1:8080/PSDSCPullServer/PSDSCPullServer.svc/](http://server1:8080/PSDSCPullServer/PSDSCPullServer.svc/)  
Pull server has version ModuleVersion = ‘3.0.0.0’ of xPSDesiredStateConfiguration in this folder c:\Program Files\WindowsPowerShell\Modules\xPSDesiredStateConfiguration (and for fun and troubleshooting) in c:\Program Files\WindowsPowerShell\DscService\Modules\xPSDesiredStateConfiguration

Set target server to pull mode:  
Configuration SetPullMode  
{  
param([string]$guid,[string]$ComputerName)  
Node $ComputerName  
{  
LocalConfigurationManager  
{

```
		ConfigurationMode = 'ApplyAndAutoCorrect'
		ConfigurationID = $guid
		RefreshMode = 'Pull'
		DownloadManagerName = 'WebDownloadManager'
		DownloadManagerCustomData = @{
			ServerUrl = "http://server1:8080/PSDSCPullServer/PSDSCPullServer.svc'"
			AllowUnsecureConnection = 'true' }
        RefreshFrequencyMins = 5
        ConfigurationModeFrequencyMins = 15
        RebootNodeIfNeeded = $true
       
	}
}

```

}  
$guid = “35a8dafb-eb8d-4b19-96c4-33274c7c1445”  
$PullServers = “newPullServer01”  
$PullServers | %{SetPullMode –guid $guid -ComputerName $\_}  
Set-DSCLocalConfigurationManager -Computer $PullServers -Path ./SetPullMode –Verbose

When the target server connects, it logs the following error:  
Cannot find module xPSDesiredStateConfiguration.3.0.0.0 from the server [http://server1:8080/PSDSCPullServer/PSDSCPullServer.svc/Module(ConfigurationId=‘35a8dafb-eb8d-4b19-96c4-33274c7c1445’,ModuleName=‘xPSDesiredStateConfiguration’,ModuleVersion=‘3.0.0.0’)/ModuleContent](http://server1:8080/PSDSCPullServer/PSDSCPullServer.svc/Module(ConfigurationId='35a8dafb-eb8d-4b19-96c4-33274c7c1445',ModuleName='xPSDesiredStateConfiguration',ModuleVersion='3.0.0.0')/ModuleContent).

Any ideas what I have wrong?

Thanks,

Mike

---

<div class="post-metadata">

**Author:** ![jacob-benson](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/jacob-benson/32/801_2.png) [@jacob-benson](https://forums.powershell.org/u/jacob-benson)\
**Post date:** [June 27, 2014, 5:48am UTC](https://forums.powershell.org/t/using-dsc-pull-server-to-configure-a-new-pull-server/2758/2 "2014-06-27T05:48:22Z")

</div>

When you configured the current Pull server, where did you set the ModulePath to? That is where the xPSDesiredStateConfiguration Resource needs to live. The Resource also needs to be named like ModuleName\_Version.zip, and you need a Checksum file for the Resource .zip file as well.

---

<div class="post-metadata">

**Author:** ![geekapproved](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@geekapproved](https://forums.powershell.org/u/geekapproved)\
**Post date:** [June 27, 2014, 6:52am UTC](https://forums.powershell.org/t/using-dsc-pull-server-to-configure-a-new-pull-server/2758/3 "2014-06-27T06:52:40Z")

</div>

Here is my ModulePath:  
ModulePath = “$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules”

I have zipped up the folder and called it xPSDesiredStateConfiguration\_v.3.0.0.0.zip.  
Then I ran: New-DscChecksum “$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules”

I now have the Zip file and the xPSDesiredStateConfiguration\_v.3.0.0.0.zip.checksum file in the ModulePath.

I reran the pull request, and still get the same error.

---

<div class="post-metadata">

**Author:** ![geekapproved](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@geekapproved](https://forums.powershell.org/u/geekapproved)\
**Post date:** [June 27, 2014, 6:55am UTC](https://forums.powershell.org/t/using-dsc-pull-server-to-configure-a-new-pull-server/2758/4 "2014-06-27T06:55:41Z")

</div>

Whoops, ok I reread the section from the DSC Book, and see that there is no ‘v’ in the version.  
I renamed xPSDesiredStateConfiguration\_v3.0.0.0.zip to xPSDesiredStateConfiguration\_3.0.0.0.zip, reran the pull and now it seems to be working.

Whew!  
Thanks again.

---

<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/using-dsc-pull-server-to-configure-a-new-pull-server/2758/5 "2024-05-16T21:17:35Z")

</div>


