Powershell DSC:无法获得httpstream

我有一个PowerShell DSC我正在使用configuration一个Web服务器。 我的服务器将需要URL重写模块,所以我从Github的主要代码中find了这个代码:

https://gist.github.com/sheastrickland/646c42789ce2df35d5c8

我的问题是,当DSC进入我的区块时:

Package UrlRewrite { #Install URL Rewrite module for IIS DependsOn = "[cNtfsPermissionEntry]AppPoolPermissionsSet" Ensure = "Present" Name = "IIS URL Rewrite Module 2" Path = "http://download.microsoft.com/download/6/7/D/67D80164-7DD0-48AF-86E3-DE7A182D6815/rewrite_2.0_rtw_x64.msi" Arguments = "/quiet" ProductId = "EB675D0A-2C95-405B-BEE8-B42A65D23E11" } 

它会抛出一个错误:

 PowerShell DSC resource MSFT_PackageResource failed to execute Set- TargetResource functionality with error message: Could not get the http stream for file http://download.microsoft.com/download/6/7/D/67D80164-7DD0- 48AF-86E3-DE7A182D6815/rewrite_2.0_rtw_x64.msi 

起初,我以为我的服务器可能有一个不好的代理设置,所以我检查,看看我是否可以下载该文件的声明:

 wget http://download.microsoft.com/download/6/7/D/ 67D80164-7DD0-48AF-86E3-DE7A182D6815/rewrite_2.0_rtw_x64.msi -OutFile "C:\Users\Dald\Desktop\Mizzy.msi" 

你看,文件出现在桌面上的计时在6,12 MB的预期。

所以我很茫然,为什么我的DSC不能得到httpstream? 我以pipe理员身份运行它,所以所有的function应该可用,但也许我忘了设置一些东西。

任何帮助是极大的赞赏。

我通过下载相关的可执行文件,然后在DSC中引用这个错误来解决这个错误。 这不是我想要的解决scheme,但它允许我的DSC继续。