$array = $string.ToCharArray()
[array]::Reverse($array)
-join($array)
Reserves the order of all characters in a string
PS C:\> $string = "abcde" >> $array = $string.ToCharArray() >> [array]::Reverse($array) >> -join($array) edcba
$array = $string.ToCharArray()
[array]::Reverse($array)
-join($array)
DetailsPS C:\> $string = "abcde" >> $array = $string.ToCharArray() >> [array]::Reverse($array) >> -join($array) edcba