dsccommunity / dsccommunity/ComputerManagementDsc

ScheduledTask: Consider removing default value for StartTime

Open
#251 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently the StartTime parameter defaults to today's date. This requires some additional code to be included in Test-TargetResource to detect if a change is required or not.

It is also counter-intuitive given that some trigger types do not require a StartTime to be set and requires extra consideration.

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 locating the ScheduledTask resource's StartTime handling and the Test-TargetResource path mentioned in the issue. Check how trigger types behave when StartTime is omitted; done means the default-versus-optional behavior is decided and the resulting change-detection behavior is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
devops, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.