diff --git a/docs/RELEASE.md b/docs/RELEASE.md index 9a1d7859..dd129c9e 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -1,5 +1,12 @@ ## 23rd August 2021 +Fixed bug where custom tests left an empty DbcResult #846 +Added feature to overwrite config file if it already exists for Export-DbcConfig #844 +Enabled ping latency testing in PowerShell Core + +##Latest +## 23rd August 2021 + Removed the Verbose for the Pester load - Apologies, this was Rob! Thank you [@MikeyBronowski](https://www.github.com/MikeyBronowski) Get the file at the end so Export-DbcConfig can be used with Invoke-Item addresses #843 #845 Thank you [@MikeyBronowski](https://www.github.com/MikeyBronowski) spelling and full stops #842 @@ -9,8 +16,6 @@ Thank you [tboggiano](https://github.com/tboggiano) CIS check for SQL Mail XPS f Thank you [tboggiano](https://github.com/tboggiano) Added function to set CIS config (was) #776 Thank you [tboggiano](https://github.com/tboggiano) CIS check for TCP IP Protocols (was) #775 -##Latest - ## April 7th 2021 Thank you [@mikedavem](https://www.github.com/mikedavem) Fixed rogue verbose when importing [#834](https://github.com/sqlcollaborative/dbachecks/issues/834) diff --git a/docs/functions/Export-DbcConfig.md b/docs/functions/Export-DbcConfig.md index 5f99150c..95c8464c 100644 --- a/docs/functions/Export-DbcConfig.md +++ b/docs/functions/Export-DbcConfig.md @@ -6,7 +6,7 @@ Exports dbachecks configs to a json file to make it easier to modify or be used ## SYNTAX ``` -Export-DbcConfig [[-Path] ] [] +Export-DbcConfig [[-Path] ] [-Force] [] ``` ## DESCRIPTION @@ -52,6 +52,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Force +Overwrite Existing file + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). @@ -59,6 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS +### System.String ## NOTES ## RELATED LINKS diff --git a/docs/functions/Invoke-DbcCheck.md b/docs/functions/Invoke-DbcCheck.md index 62fec65e..480fee96 100644 --- a/docs/functions/Invoke-DbcCheck.md +++ b/docs/functions/Invoke-DbcCheck.md @@ -12,7 +12,7 @@ Invoke-DbcCheck [-Script ] [-TestName ] [-EnableExit] [[-Che [-ComputerName ] [-SqlCredential ] [-Credential ] [-Database ] [-ExcludeDatabase ] [-Value ] [-ConfigFile ] [-CodeCoverage ] [-CodeCoverageOutputFile ] [-CodeCoverageOutputFileFormat ] - [-Strict] [-OutputFormat ] [-AllChecks] [-Quiet] [-PesterOption ] [-Show ] + [-Strict] [-OutputFormat ] [-AllChecks] [-Quiet] [-PesterOption ] [-Show ] [-ConfigAgentAlertJob ] [-ConfigAgentAlertMessageid ] [-ConfigAgentAlertNotification ] [-ConfigAgentAlertSeverity ] [-ConfigAgentDatabasemailprofile ] [-ConfigAgentDbaoperatoremail ] [-ConfigAgentDbaoperatorname ] @@ -142,7 +142,7 @@ Invoke-DbcCheck [-Script ] [-TestName ] [-EnableExit] [[-Che [-Database ] [-ExcludeDatabase ] [-Value ] [-ConfigFile ] [-CodeCoverage ] [-CodeCoverageOutputFile ] [-CodeCoverageOutputFileFormat ] [-Strict] -OutputFile [-OutputFormat ] [-AllChecks] [-Quiet] [-PesterOption ] - [-Show ] [-ConfigAgentAlertJob ] [-ConfigAgentAlertMessageid ] + [-Show ] [-ConfigAgentAlertJob ] [-ConfigAgentAlertMessageid ] [-ConfigAgentAlertNotification ] [-ConfigAgentAlertSeverity ] [-ConfigAgentDatabasemailprofile ] [-ConfigAgentDbaoperatoremail ] [-ConfigAgentDbaoperatorname ] [-ConfigAgentFailedjobExcludecancelled ] @@ -743,10 +743,9 @@ A common setting is also Failed, Summary, to write only failed tests and test su This parameter does not affect the PassThru custom object or the XML output that is written when you use the Output parameters. ```yaml -Type: OutputTypes +Type: String Parameter Sets: (All) Aliases: -Accepted values: None, Default, Passed, Failed, Pending, Skipped, Inconclusive, Describe, Context, Summary, Header, Fails, All Required: False Position: Named