I need to convert a date in Windows PowerShell to the ISO 8601 format.
In Linux/Unix it was no problem with
TZ=0 date -d \"\"
PowerShell's Get-Date supports standard .NET time formats. The o round-trip format complies with ISO 8601. Like so,
Get-Date -Format "o" 2017-08-15T12:10:34.4443084+03:00