How do you send the dbachecks output to a file on disk?
I tried the following but it resulted with the output on screen and a 0 kb file on disk.
Invoke-DbcCheck -Check Database -SqlInstance myserver -ExcludeCheck TestLastBackup, TestLastBackupVerifyOnly | Out-File c:\myserver.txt