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

xSQLServerDatabasePermission: PSScriptAnalyzer errors need to be fixed #725

Closed
johlju opened this issue Aug 12, 2017 · 0 comments · Fixed by #766
Closed

xSQLServerDatabasePermission: PSScriptAnalyzer errors need to be fixed #725

johlju opened this issue Aug 12, 2017 · 0 comments · Fixed by #766
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_xSQLServerDatabasePermission.psm1 (Line 55): Mandatory Parameter 'SQLServer' is initialized in the Param block. To fix a violation of this rule, please leave it unintialized.
MSFT_xSQLServerDatabasePermission.psm1 (Line 60): Mandatory Parameter 'SQLInstanceName' is initialized in the Param block. To fix a violation of this rule, please leave it unintialized.

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 xSQLServerDatabasePermission
  - Fixed PS Script Analyzer errors (issue #725).
@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