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: Fixing PSSA errors #764

Merged
merged 4 commits into from
Aug 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
- Added examples (issue #633)
- 1-EnableAlwaysOn.ps1
- 2-DisableAlwaysOn.ps1
- Changes to xSQLServerScript
- Fixed PS Script Analyzer errors ([issue #728](https://github.com/PowerShell/xSQLServer/issues/728))
- Changes to xSQLServerSetup
- Added Swedish localization ([issue #695](https://github.com/PowerShell/xSQLServer/issues/695)).
- Now Get-TargetResource correctly returns an array for property ASSysAdminAccounts,
Expand Down
8 changes: 4 additions & 4 deletions DSCResources/MSFT_xSQLServerScript/MSFT_xSQLServerScript.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function Get-TargetResource
[System.Management.Automation.Credential()]
$Credential,

[Parameter(Mandatory = $false)]
[Parameter()]
[System.UInt32]
$QueryTimeout,

Expand Down Expand Up @@ -153,7 +153,7 @@ function Set-TargetResource
[System.Management.Automation.Credential()]
$Credential,

[Parameter(Mandatory = $false)]
[Parameter()]
[System.UInt32]
$QueryTimeout,

Expand Down Expand Up @@ -228,7 +228,7 @@ function Test-TargetResource
[System.Management.Automation.Credential()]
$Credential,

[Parameter(Mandatory = $false)]
[Parameter()]
[System.UInt32]
$QueryTimeout,

Expand Down Expand Up @@ -298,7 +298,7 @@ function Invoke-SqlScript
[System.Management.Automation.Credential()]
$Credential,

[Parameter(Mandatory = $false)]
[Parameter()]
[System.UInt32]
$QueryTimeout,

Expand Down