I'm trying to make a loop to retrieve the name of each folder with "Get-ChildItem -Path $myPath" to store it in a variable as a string. I could then reuse this string in the rest of my script. I tried several times and unfortunately without success. Could you please help me make this loop?
I've resolved my problem. Thanks anyway.
Powered by IDERA