Question: I have over 400 directories and within each of those directories there is a *.ini file that I need to query for a value. Once I have that value I need to rename the text document in that directory, that value. I'm looking at accomplishing this task in powershell since the rest of the application is powershell.
Below is an example
- File 1a
- document1.ini (The value that I need resides in this *.ini file)
-document1.txt (The value that I found in document.ini, I need to rename this file to that value)
-document2.ini (the value that I need resides in this *.ini file )
-document2.txt (The value that I found in document2.ini, I need to rename this file to that value)