TIL: Today I learned how easy it is to send emails with Powershell and an Office 365 mail account.
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!
Wow, it’s been a while since I last blogged - and here comes a tiny helper to upload one or more CSV file to a SharePoint Online list. I think its the best documented script I ever created…!!! The script The following script checks a folder for files - and opens them. Then each line will be uploaded to the specified SharePoint list defined by the provided mapping. The mapping is kinda straight forward.