Bug Report
Since version 3.0.2, I cannot define more than one value for the -Show parameter of Invoke-DbcCheck function.
This worked fine in version 2.0.18.
General Troubleshooting steps
Does (Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString()
--> yep, both are 3.0.2
Version Information
- Operating System (Name|Version):
- PowerShell Version: 5.1.19041.4522
- SQL Server (Edition|Version): unrelated, but tried to run a check on sql server standard 2014. Only 1 parameter for -Show succeeds
Steps to Reproduce
<# All of these fail #>
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show @("All,Summary") -Credential $cred
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show "All,Summary" -Credential $cred
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show All,Summary -Credential $cred
<#They work fine individually #>
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show All -Credential $cred
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show Summary -Credential $cred

Description of Bug
I would like to be able to pass multiple values to the -Show parameter like I used to do in the previous version.
Bug Report
Since version 3.0.2, I cannot define more than one value for the -Show parameter of Invoke-DbcCheck function.
This worked fine in version 2.0.18.
General Troubleshooting steps
Does
(Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString()--> yep, both are 3.0.2
powershell -NoProfile)?Version Information
Steps to Reproduce
<# All of these fail #>
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show @("All,Summary") -Credential $cred
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show "All,Summary" -Credential $cred
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show All,Summary -Credential $cred
<#They work fine individually #>
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show All -Credential $cred
Invoke-DbcCheck -SqlInstance "testserver" -Checks LastBackup -Show Summary -Credential $cred
Description of Bug
I would like to be able to pass multiple values to the -Show parameter like I used to do in the previous version.