Hello,
When I execute a "ls c:\windows\LogFiles | gm", I see a Typename: System.IO.FileInfo with a Property of CreationTime which is a System.DateTime. Im trying to format this System.DateTime by issuing a $DT = $_.CreationTime -f "MM_dd_yy HH_mm_ss", but what always comes back is a format of 06/17/2013 07:36:51. Why is this? How can I custom format this property to the form I need?
Thanks for your help! SdeDot