Hi,
Is there a way to store information throughout the running of a custom command? For instance, when creating a user, we use a custom command to move the user to an OU and then another to apply permissions by job title, etc. Is there are a way to return failures, such as if the OU doesn't exist or job title not recognised and then include that in an email notification at the end that is sent by the parent command that is calling these other commands? I understand that this can be included within the custom commands themselves but would prefer one report generated over the entire process with the information, rather than 5 or 6 generated throughout the process.