I like to develop a script that modify a folder name when the lvl up folder name endings can changed . ususully in ps im just using a wild card like this Something.*
but using this inside a reanme-item command does not works . i am getting :
name-Item : Cannot process argument because the value of argument "path" is not valid. Change the value of the "path" argument and run the operation again. At line:1 char:1