I am learning my way round the API but would like some direction on how to remove a feature { “IIS web site and application pool”} from a process step via the API …
I’m using powershell to call the api and can dig down to find the properties of where it is stored but not sure if I should be changing it there and posting back?
here’s how i’m getting to the field… should it be done this way ?
First of all let me mention that this may cause lots of issues, and not really something we encourage our users to do. So please take due care when modifying deployment processes by editing strings within it.
I would definitely test this on a non-production project first to make sure that the modifications won’t break your project.
The script below is an extension of your script to modify the enabled features to remove the IIS web site and application pool feature and then posting the modified deployment process to the server, I can’t stress enough that you should be very careful running this on a production project as you may break it, use it at your own risk.
That’s brilliant ! this is being used in conjunction with cloning a project so we can test config changes before going live so no adjustments to a live project will be made