I am trying to format the datetime for my folders once they are sorted into descending order . At the moment I have datetime format like 25-04-2014 and I would like to to get displayed 25th april 2014 I am using this code but dont know how to use the formatting
$sortedContent = $content | Sort-Object LastWriteTime -Descending