dbatools
dbatools copied to clipboard
Add DatabaseID to the return object for relevant commands
Summarize Functionality
As noted in #8053 if the database name has been changed it can cause matching issues when comparing historical data.
For this feature request the goal is to identify which other commands would benefit from adding the DatabaseID to the return object. For example, the Get-DbaDb* commands.
Is there a command that is similiar or close to what you are looking for?
No
Technical Details
See #8175 as an example of adding the DatabaseID to a command's return object.