Date format iso 8601 powershell

It ended up being simple and I was overthinking it 100 fold.My final variable I was looking for is:Output ended up being 10/15/2019 11:59:32 Demonstrates the GetAsIso8601 method to return the date/time in an ISO 8601 compatible format. For example, the function DateTime.ToText can actually return the string in the desired format if you pass a ... ................
................