PowerShell output format is changed to systems date format, while calling Invoke-Sqlcmd command to get last login date of users. Please help me with solution to get output as plain text.
Asked
Active
Viewed 18 times
0
-
What is being returned are likely [`[datetime]`](https://stackoverflow.com/a/68024123/45375) instances, which you're free to convert to a string format of your choice. – mklement0 Jun 17 '21 at 17:53