Skip to content

Conversation

@Alan-Huntress
Copy link
Contributor

Datto script uses TagsKey instead of Tags, so that should be logged just in case there are invalid characters.

Also moved the commands that log keys further up in the chain to make sure they're captured before Test-Parameters is run, this is needed to ensure we see the keys in the logs before the script gets to a part of the execution that can be stopped by invalid key formats.

Finally, pulled the org key and tag out of the $AccountKey if-check, we want to log the org key and tags regardless.

Datto script uses TagsKey instead of Tags, so that should be logged just in case there are invalid characters. 

Also moved the commands that log keys further up in the chain to make sure they're captured before Test-Parameters is run, this is needed to ensure we see the keys in the logs before the script gets to a part of the execution that can be stopped by invalid key formats.
@evanburkeyhl evanburkeyhl self-requested a review November 19, 2025 16:10
@evanburkeyhl evanburkeyhl merged commit 36e779d into main Nov 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants