Automation · PowerShell DSC
Push Mode
Cheat sheet · https://pcornel.dk/topic.php?topic=5682
Answer
In DSC push mode, the configuration is sent to nodes with Start-DscConfiguration. It is simple for small setups but required modules must already be on each node.
Remember
- Start-DscConfiguration.
- Modules must be on node.
- Simple for few nodes.
First checks
Start-DscConfiguration -Path .\mof -ComputerName <node> -Wait -Verbose— pushGet-DscConfigurationStatus— result- Module distribution to nodes — prerequisite
Verify in this order
admin → push MOF → node LCM → apply
Where it usually breaks
Script/input → command/module binding → local/remoting session → request accepted → command result → target object read-back → effective runtime state → workload.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5682