TIL: Today I learned how easy it is to send emails with Powershell and an Office 365 mail account.
2017 was a very special year. And a super busy one. And exciting - well, almost all adjectives would fit for that CRAZY year! It was full of work, community stuff - and family time…!!!!
In my current project we provision large and complex Azure environments, subscriptions VMs, networking permissions and all that. Some of the scripts have many many parameters - so in a month it would be nice to see how the script were started and with what parameters. With the cmdlet start-transcript you get all the information what happens in the script as a nice log file. But unfortunately the parameters that were used to start the script are not in there. In this post, I show you how to easily add them to the transcript!