You need some imagination to solve a problem. Microsoft frequently creates problems. Thus, a lot of creativity is needed. Mapping Azure File Shares using Intune PowerShell demands a little imagination.
Rebooting a switch is easy. Having patience enough to not frantically click the F5 button to check if the webinterface is back online is next to impossible. Here’s a quick PowerShell snippet with a solution!