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

SqlInstall: New resource #1912

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Modify and add commands

f568f52
Select commit
Loading
Failed to load commit list.
Draft

SqlInstall: New resource #1912

Modify and add commands
f568f52
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / PSScriptAnalyzer failed Dec 16, 2023 in 3s

5 new alerts including 2 errors

New alerts in code changed by this pull request

  • 2 errors
  • 3 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 343 in source/Classes/020.SqlInstall.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The DSC resource 'SqlInstall' must have at least one key property (using the syntax [DscProperty(Key)].) Error

The DSC resource 'SqlInstall' must have at least one key property (using the syntax [DscProperty(Key)].)

Check failure on line 343 in source/Classes/020.SqlInstall.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The DSC resource 'SqlInstall' is missing a Test method that returns [bool] and accepts no parameters. Error

The DSC resource 'SqlInstall' is missing a Test method that returns [bool] and accepts no parameters.

Check warning on line 821 in source/Classes/020.SqlInstall.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The variable 'currentInstalledServiceNames' is assigned but never used. Warning

The variable 'currentInstalledServiceNames' is assigned but never used.

Check warning on line 849 in source/Classes/020.SqlInstall.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

Empty End block. Warning

Empty End block.

Check warning on line 823 in source/Classes/020.SqlInstall.ps1

See this annotation in the file changed.

Code scanning / PSScriptAnalyzer

The variable 'serverObject' is assigned but never used. Warning

The variable 'serverObject' is assigned but never used.