dsccommunity / dsccommunity/SqlServerDsc

SqlRS: Add read only parameters for information collected by Get-TargetResource

Open
#626 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion enhancement
Dominant language
PowerShell
Stars
385
Forks
224
PR merge metrics
No merged PRs in 30d

Description

Details of the scenario you tried and the problem that is occurring:
PR #220 added some read-only properties that could be added to xSQLServerRSConfig if they give value.

    [Read, Description("The Windows service name.")] String ServiceName;
    [Read, Description("The SQL database name")] String DatabaseName;
    [Read, Description("Virtual directory name for the report manager.")] String VirtualDirectoryReportManager;
    [Read, Description("Virtual directory name for the report server.")] String VirtualDirectoryReportServer;

The DSC configuration that is using the resource (as detailed as possible):
n/a

Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
n/a

What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
n/a

Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

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

Locate the xSQLServerRSConfig resource and its Get-TargetResource entry point, then review how the existing read-only properties are declared and populated. Add the four listed properties if they provide value, and verify that Get-TargetResource returns them consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, sql
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.