dsccommunity / dsccommunity/ComputerManagementDsc

xComputer: postpone computer restart

Open
#75 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
PowerShell
Stars
338
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Sometimes a configuration performs several changes that require a reboot, but not immediately (changing computer name being one of them)

It would be useful for xComputer to be able to raise one of the flags checked by the xPendingReboot instead of simply setting $global:DSCMachineStatus, in order to enable configuration to control when a reboot occurs.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the xComputer resource's reboot handling and the flags checked by xPendingReboot, especially the current use of $global:DSCMachineStatus. Define how a configuration can signal a pending reboot without forcing it immediately, and verify that multiple changes preserve the requested reboot timing.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.