Please advise on the following failure I am facing while trying to apply DSC changes on the remote machine:
PS C:\Windows\system32> Set-DscLocalConfigurationManager -Path .\LCMPullMode
Undefined class: MSFT_WebDownloadManager
At line:15, char:2
Connection = True;
+ CategoryInfo : SyntaxError: (root/Microsoft/...gurationManager:String) , CimException
+ FullyQualifiedErrorId : MiClientApiError_Failed
+ PSComputerName : be-lab-v17
Thanks in advance,
Ofer Peled commented
Sorry for the late comment, but this was already resolved. You are probably right, as far as I remember I forgot to update the box to WMF / PS 5.
Based on your description and the error, it looks like the script is compiled on newer machine and push to a remote machine with older PowerShell version where MFT_WebDownloadManager is not defined.
Could you please share what version of PowerShell is running on the local and remote boxes?