dsccommunity / dsccommunity/SqlServerDsc

SqlService: New resource proposal

Open
#2,164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted resource proposal
Dominant language
PowerShell
Stars
385
Forks
224
PR merge metrics
No merged PRs in 30d

Description

Resource proposal

A class-based SqlService resource would inspect and ensure the state of SQL-related Windows services, such as SQL Server, Agent, and Browser. It would use Get-SqlDscManagedComputerService.

Proposed properties
Property Type qualifier Data type Description Default value Allowed values
ServiceName Key String Name of the Windows service None Any valid service name
DesiredState Write String Desired state (Running, Stopped) Running Running, Stopped
ServerName Key String The SQL Server host name None Any valid server name
Special considerations or limitations

Should support all SQL-related services, handle service state changes safely, and validate service existence. Contributors should be aware of required privileges and possible service dependencies.

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 examining Get-SqlDscManagedComputerService and the proposed ServiceName, DesiredState, and ServerName properties. Done means a class-based SqlService resource can inspect and safely manage the listed SQL-related Windows services, validate service existence, and account for privileges and dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
databases, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.