If you need to know how to format Dates and Times in PowerShell, you will definitely want to check out this article: https://technet.microsoft.com/en-us/library/ee692801.aspx
The most common type of date formatting you will probably be using will be something like the following:
The most common type of date formatting you will probably be using will be something like the following:
$currentDate = Get-Date -format yyyyMMdd
That is all there is to it!!
No comments:
Post a Comment