Skip to content
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 · Fixed by #764
Closed

xSQLServerScript: PSScriptAnalyzer errors need to be fixed #728

johlju opened this issue Aug 12, 2017 · 0 comments · Fixed by #764
Labels
enhancement The issue is an enhancement request.

Comments

@johlju
Copy link
Member

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

@johlju johlju added easy fix enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Aug 12, 2017
@johlju johlju added in progress The issue is being actively worked on by someone. and removed help wanted The issue is up for grabs for anyone in the community. labels Aug 16, 2017
johlju pushed a commit that referenced this issue Aug 16, 2017
- Changes to xSQLServerScript
  - Fixed PS Script Analyzer errors (issue #728).
@johlju johlju removed the in progress The issue is being actively worked on by someone. label Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant