dsccommunity / dsccommunity/SqlServerDsc
SqlService: New resource proposal
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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