Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: PowerShell Solutions - Working with files

    Rather than:

    $date=(Get-Date -Format d).toString()

    $date=$date.replace("/","-")

    I prefer using the format operator -f with a 4-digit year and fully padded days and months in YYYYMMDD order to make sorting easier. Modifying the formatting...

Viewing post 1 (of 1 total)