I want to search the content of specific folder for Web.config
files.
Here's the script I'm using but it doesn't work and don't know how to tweak it.
$folders=get-childitem E:\WebSystems\Configs\ | select Name
foreach($folder in $folders)
{
get-content E:\WebSystems\Configs\$folder\Web.config
}