I’m new to DSC and am following along through the Snover/Helmick examples.
My DSC authoring platform is a Windows 10 desktop and am testing to a single Windows Server 2012 R2 box with WMF 4 installed.
I attempt to run: Set-DSCLocalConfigurationManager -ComputerName $ComputerName -Path c:\Scripts\DSC\LCM –Verbose
but get error:
The WinRM client cannot process the request. The object contains an unrecognized argument: “Force”. Verify that the spelling of the argument name
+ CategoryInfo : MetadataError: (root/Microsoft/…gurationManager:String) , CimException
+ FullyQualifiedErrorId : HRESULT 0x803381e1
I’ve done the following to troubleshoot:
~ re-run Enable-PSRemoting on both boxes
~ Set a Public ethernet interface to Private
…but still get error.