Migrate-WindowsUserProfile
Migrate-WindowsUserProfile copied to clipboard
Notify when complete
I see that there's an email tab for setting up an email notification when the migration is complete. It would be great if this was generalized into a "notifications" tab which might also include additional methods for sending notifications.
The immediate ones to add might be Slack and Teams, where (similar to configuring the email) the user would have to input their webhook URL. It might be overkill, but having intermittent messages could also be useful, such as when the profile has been migrated for each individual user.
I would recommend keeping it generalized because this could also be enhanced to include other calls, such as utilizing a service such as CDYNE to further notify via text/call when the migration is complete. I'll gladly help with the API calls for Teams, Slack, and CDYNE as I've worked with each of these before.
Cool Idea. RamlingCookieMonster has made a Slack module that we could use to do the slack notification. http://ramblingcookiemonster.github.io/PSSlack/
We would have to embed that module in the source so that we could use it when packaged up in an EXE.
I added some very simple foundation work for webhooks to a new webhook branch. One problem I see is how to customize what content is actually sent over the webhook.