Tuesday, November 10, 2015

Date and Time formatting in PowerShell

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:
$currentDate = Get-Date -format yyyyMMdd

That is all there is to it!!

No comments:

Post a Comment