How can I remove a remote instance for SQLWatchImport? Only the --add and --update are available and no --delete.
Deleting an instance is a bit more tricky as it will also delete all the associated data.
To delete an instance you can simple delete it from the config table
config_sql_instance. Careful as it may take hours for this to complete so best run it as agent job.
It’s probably best to just disable it undated.
I did not had a lot of data yet because I was running a POC. Simple delete statement on the config table did the trick.