New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xSQLServerScript: PSScriptAnalyzer errors need to be fixed #728

Closed
johlju opened this Issue Aug 12, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@johlju
Collaborator

johlju commented Aug 12, 2017

Details of the scenario you tried and the problem that is occurring:
The following PSScriptAnalyzer errors need to be fixed:
MSFT_xSQLServerScript.psm1 (Line 68): Non-mandatory parameters must use the correct format [Parameter()] for the parameter attribute. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
MSFT_xSQLServerScript.psm1 (Line 156): Non-mandatory parameters must use the correct format [Parameter()] for the parameter attribute. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
MSFT_xSQLServerScript.psm1 (Line 231): Non-mandatory parameters must use the correct format [Parameter()] for the parameter attribute. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block
MSFT_xSQLServerScript.psm1 (Line 301): Non-mandatory parameters must use the correct format [Parameter()] for the parameter attribute. See https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-parameter-block

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

@ChrisLGardner ChrisLGardner referenced this issue Aug 15, 2017

Merged

xSQLServerScript: Fixing PSSA errors #764

1 of 5 tasks complete

@johlju johlju added in progress and removed help wanted labels Aug 16, 2017

@johlju johlju closed this in #764 Aug 16, 2017

johlju added a commit that referenced this issue Aug 16, 2017

xSQLServerScript: Fixing PSSA errors (#764)
- Changes to xSQLServerScript
  - Fixed PS Script Analyzer errors (issue #728).

@johlju johlju removed the in progress label Aug 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment