You are such a hypocrite. Right from the moment you joined this thread, it was to say "Sort-Object? RIDICULOUS!" as though you have any idea what you're talking about, other than to be a troll. Then in your most recent post, you say "If
this issue were a problem (but it isn't, see the OP), just include the sort cmdlet."
Gee, thanks for agreeing with the original point I made, which you came in here solely to bitch about.
You are pretty much RIDICULOUS, rubbishell coder # 1.
Are you able to understand that the indexes are hard-coded?
Are you able to understand that the hard-coded values are set in incresing order?
If they were not, anyone could easily 'fix' it:
$indexes = ... # some assorted order
$indexes = $indexes | sort
Are you able to understand it, SHole?
Are you so stupid to not understand it?
Why did you consider the possibility of indexes in any different order than the one the OP has hard-coded them?
Why haven't you considered too, the indexes being not unique, besides being out of order?
The answer is simple, mvp ignorant: you are not able to chain more than 2 thoughts, without forgetting the first one, because you replaced any low quality brain you had by ashes of weed, stupid.
Sort-Object? You are ridiculous (and slow, and ignorant, and a rubbishell coder, ... and such a huge SHole).
... and you need a very low valued mcc to mark your stupid reply as correct! The same one that marked as correct the stupid post in this thread:
http://social.technet.microsoft.com/Forums/en-US/318b2885-c00e-4daf-8335-8a4beff5a52d/how-to-delete-contents-of-a-csv-file-except-header-using-powershell?forum=winserverpowershell
The same thread that you showed yourself as a coward and stupid huge SHole, along with the pretty much nothing and stupid mike laughable, who makes laugh whenever *it* posts some code...
Sort-Object? You are ridiculous (and slow, and ignorant, and a rubbishell coder, ... and such a huge SHole). Why did you forget uniqueness? ... SHole.