Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Nodes · PowerShell DSC

Direct answer

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.

When to use this

Use this when targeting DSC configurations at nodes.

First 30 seconds

1. Nodes are targets of DSC configurations.

2. Define in configuration data.

3. Group roles.

4. Report status per node.

5. Remove decommissioned nodes.

Operational verification

configuration data → node MOFs → LCM per node

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
PowerShell Desired State Configuration
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPowerShell Desired State Configuration · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when targeting DSC configurations at nodes.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • Node blocks name target machines.
  • Configuration data can set values per node.
  • Each node gets its own MOF.
Key checks
  • 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
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.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPowerShell Desired State Configuration current

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%
Depth when you need it

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.

Confirmation

Confirm action

Continue?