Re: I love WSL, since it made scripting on Windows usable after 30 years :)
There are probably simpler and more elegant ways but this works for me.
date([management.managementdatetimeconverter]::ToDateTime((Get-WmiObject win32_operatingsystem).LastBootUpTime)) -Format dd-M-yyyy
I would normally do the date as yyyyMMdd but wanted to match it to the OP's format.
Mine is the one with a windows VM on linux because Azure modules don't work properly on Linux Powershell