Skip to content

Commit

Permalink
Add blank lines to PowerShell script files
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Jan 14, 2024
1 parent 575f809 commit f25ccd3
Show file tree
Hide file tree
Showing 40 changed files with 44 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update markdown highlights with newly supported keywords.
- Bump GitHub Action _Stale_ to v9.
- Bump GitHub Action _CodeQL-Action_ to v3.
- Prefix every public command source script file with a blank line so
that PlatyPS can find the comment-based help. ModuleBuilder builds
the module without any white space between functions so PlayPS (or
`Get-Help`) cannot distinguish each individual commands comment-based
help.
- SqlSetup
- Updated integration tests to use PSResourceGet to download required modules.

Expand Down
1 change: 1 addition & 0 deletions source/Public/Add-SqlDscNode.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Add a SQL Server node to an Failover Cluster instance (FCI).
Expand Down
1 change: 1 addition & 0 deletions source/Public/Add-SqlDscTraceFlag.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Add trace flags to a Database Engine instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Complete-SqlDscFailoverCluster.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Completes the SQL Server instance installation in the Failover Cluster
Expand Down
1 change: 1 addition & 0 deletions source/Public/Complete-SqlDscImage.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Completes the image installation of an SQL Server instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Connect-SqlDscDatabaseEngine.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Connect to a SQL Server Database Engine and return the server object.
Expand Down
1 change: 1 addition & 0 deletions source/Public/ConvertFrom-SqlDscDatabasePermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Converts a DatabasePermission object into an object of the type
Expand Down
1 change: 1 addition & 0 deletions source/Public/ConvertFrom-SqlDscServerPermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Converts a ServerPermission object into an object of the type
Expand Down
1 change: 1 addition & 0 deletions source/Public/ConvertTo-SqlDscDatabasePermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Converts a collection of Microsoft.SqlServer.Management.Smo.DatabasePermissionInfo
Expand Down
1 change: 1 addition & 0 deletions source/Public/ConvertTo-SqlDscServerPermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Converts a collection of Microsoft.SqlServer.Management.Smo.ServerPermissionInfo
Expand Down
1 change: 1 addition & 0 deletions source/Public/Disable-SqlDscAudit.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Disables a server audit.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Disconnect-SqlDscDatabaseEngine.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Disconnect from a SQL Server Database Engine instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Enable-SqlDscAudit.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Enables a server audit.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscAudit.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Get server audit.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscConfigurationOption.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Get server configuration option.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscDatabasePermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Returns the current permissions for the database principal.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscManagedComputer.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Returns the managed computer object.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscManagedComputerService.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Returns one or more managed computer service objects.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscPreferredModule.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Get the first available (preferred) module that is installed.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscServerPermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Returns the current permissions for the principal.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscStartupParameter.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Get current startup parameters on a Database Engine instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Get-SqlDscTraceFlag.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Get current trace flags on a Database Engine instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Import-SqlDscPreferredModule.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Imports a (preferred) module in a standardized way.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Initialize-SqlDscRebuildDatabase.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Rebuilds the system databases for an SQL Server instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Install-SqlDscServer.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Executes an setup action using Microsoft SQL Server setup executable.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Invoke-SqlDscQuery.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Executes a query on the specified database.
Expand Down
1 change: 1 addition & 0 deletions source/Public/New-SqlDscAudit.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Creates a server audit.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Remove-SqlDscAudit.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Removes a server audit.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Remove-SqlDscNode.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Removes a SQL Server node from an Failover Cluster instance (FCI).
Expand Down
1 change: 1 addition & 0 deletions source/Public/Remove-SqlDscTraceFlag.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Removes trace flags from a Database Engine instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Repair-SqlDscServer.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Executes an setup action using Microsoft SQL Server setup executable.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Set-SqlDscAudit.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Updates a server audit.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Set-SqlDscDatabasePermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Set permission for a database principal.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Set-SqlDscServerPermission.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Set permission for a login.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Set-SqlDscStartupParameter.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Sets startup parameters on a Database Engine instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Set-SqlDscTraceFlag.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Sets trace flags on a Database Engine instance.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Test-SqlDscIsDatabasePrincipal.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Returns whether the database principal exist.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Test-SqlDscIsLogin.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Returns whether the database principal exist.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Test-SqlDscIsSupportedFeature.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Tests that a feature is supported by a Microsoft SQL Server major version.
Expand Down
1 change: 1 addition & 0 deletions source/Public/Uninstall-SqlDscServer.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<#
.SYNOPSIS
Uninstall features from a Microsoft SQL Server instance.
Expand Down

0 comments on commit f25ccd3

Please sign in to comment.