Get-Date can format the date and time in several .NET and Unix formats. You can use Get-Date to generate a date or time character string, and then send the string to other cmdlets or programs.
We're the #PowerShell FAQ community for devs & admins. We create guides & answer tough PowerShell questions. Follow us for expert solutions.