I have a large number of files with no particular naming pattern. I'll like to name them in double digit numerical order, for example:
test1.txt --> 01.txt
1test.txt --> 02.txt
te1st.txt --> 03.txt
t1est.txt --> 04.txt
tes1t.txt --> 05.txt
_test1.txt --> 06.txt
_1test.txt --> 07.txt
_te1st.txt --> 08.txt
_t1est.txt --> 09.txt
_tes1t.txt --> 10.txt
How can I do this using a PowerShell command?