Use this when targeting DSC configurations at nodes.
Nodes · PowerShell DSC
DSC nodes are the target machines a configuration applies to, listed in the configuration's Node block or in configuration data, each getting its own MOF.
1. Nodes are targets of DSC configurations.
2. Define in configuration data.
3. Group roles.
4. Report status per node.
5. Remove decommissioned nodes.
configuration data → node MOFs → LCM per node
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as resource module drift, duplicate/ambiguous keys, credentials in artifacts, reboot/pending-state handling, push/pull source drift and resource reporting success without actual convergence, choosing the cases most relevant to node identity and configuration/resource assignment, plus distinguishing inventory/definition identity from runtime reachability and convergence.
Step 2 Common mistakes Narrow the fault
- LCM mode not set as intended (ApplyOnly vs ApplyAndAutoCorrect).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Node blocks name target machines.
- Configuration data can set values per node.
- Each node gets its own MOF.
- Node list in configuration data — targets
Get-DscConfigurationStatus -CimSession <node>— status per node- Node-specific data — per-node settings
ReferenceWhy it matters1 section · depth on demand
What it is
DSC nodes are the machines that receive and apply configurations through the Local Configuration Manager (LCM).
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A node in PowerShell DSC is a machine that receives a configuration. Configurations can target nodes by name, or use configuration data to generate settings for many nodes with different roles from one configuration.
$ConfigData = @{
AllNodes = @(
@{ NodeName = '*'; TimeZone = 'Romance Standard Time' }
@{ NodeName = 'web01'; Role = 'Web' }
@{ NodeName = 'sql01'; Role = 'Sql' }
)
}
Configuration Baseline {
Node $AllNodes.Where{ $_.Role -eq 'Web' }.NodeName {
WindowsFeature IIS { Name = 'Web-Server'; Ensure = 'Present' }
}
}
Baseline -ConfigurationData $ConfigData -OutputPath .\mof
Keeping node data separate from configuration logic lets the same configuration scale across environments.
Example
Get-DscLocalConfigurationManager
Get-DscConfigurationStatus
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in PowerShell DSC > Nodes. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/powershell/dsc/overview?view=dsc-3.0 · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For node identity and configuration/resource assignment, plus distinguishing inventory/definition identity from runtime reachability and convergence, prefer typed fields and stable IDs over human presentation text.