<-- Simply answer the question - What would you like dbachecks to do that it doesn't? -->
Current behaviour
Export-DbcConfig -Path C:\Tools\PowerDBA\dbachecks_config.txt -Force
Out-File: Could not find a part of the path 'C:\Tools\PowerDBA\dbachecks_config.json'.
New requested behaviour
Use the new switch to create the folder structure first: -CreatePath, -ForceCreate or whatevs
Feature Request
<-- Simply answer the question - What would you like dbachecks to do that it doesn't? -->
Current behaviour
New requested behaviour
Use the new switch to create the folder structure first:
-CreatePath
,-ForceCreate
or whatevsAdd something like
New-Item
when the switch is enabled.https://github.com/dataplat/dbachecks/blob/6b633310b71ff982ae5dd9b8658308e0cf7d6daf/source/functions/Export-DbcConfig.ps1#L54C9-L54C9