Is it possible to use Microsoft\'s XML document transform, for preparing web.configs, outside of MSBuild? I would like to use PowerShell to do these transform without having
Take a looked at using MSDeploy since it has PowerShell scripting APIs that allow you to transform and deploy your package.
You can also look at XML-Document-Transform which if you wanted to you can write your own code to perform the Transform.
Here is a codeplex project that did something similar.XDT Transformation Tool