mastermindg
IS-IT--Management
- Jan 28, 2009
- 7
This is similar to this post:
I've written a script that will search a machine.config for various strings. It has just occurred to me that there might be varying installs of .NET Framework.
This is what I need to do:
Search under C:\WINDOWS\Microsoft.NET\Framework\ for
directories starting with v (v*) for each
directory matching above ($directory)
opentextfile $directory/config/machine.config
What is the correct syntax to accomplish this?
I've written a script that will search a machine.config for various strings. It has just occurred to me that there might be varying installs of .NET Framework.
This is what I need to do:
Search under C:\WINDOWS\Microsoft.NET\Framework\ for
directories starting with v (v*) for each
directory matching above ($directory)
opentextfile $directory/config/machine.config
What is the correct syntax to accomplish this?