Ensconce comes with a set of powershell helper scripts.
These can be included as part of your deployment powershell to make deployment scripts simpler and remove the need for repeated logic.