Has anyone worked out how to get PowerShell to use app.config
files? I have a couple of .NET DLL\'s I\'d like to use in one of my scripts but they expect their
I'm guessing that the settings would have to be in powershell.exe.config in the powershell directory, but that seems to be a bad way of doing things.
You can use ConfigurationManager.OpenMappedExeConfiguration to open a configuration file based on the executing DLL name, rather than the application exe, but this would obviously require changes to the DLLs.