I have configured https based DSC pull server and multiple target nodes registered to this server. When I execute
Get-DscLocalConfigurationManageron any of the target nodes I verified that RefreshMode is set as ‘PULL’. The set-up is working as expected.
There are scenarios where I’m running some configurations manually. The configurations are applied successfully to these target nodes however when I run
Get-DscLocalConfigurationManageron target node now, it’s flipped back to ‘PUSH’ mode. This is what I used to manually apply the configurations on target node:
Start-DSCConfiguration -Path C:\Dsc\Mof -Wait -Verbose -Force
If I exclude the ‘-Force’ parameter, I get this error:
A PUSH operation was requested without -Force while configured for PULL processing. + CategoryInfo : InvalidArgument: (root/Microsoft/...gurationManager:String) [], CimException + FullyQualifiedErrorId : MI RESULT 4 + PSComputerName : localhost
So does it mean that a node can either be in PUSH or PULL mode in its life time?
Thanks for your help!