Powershell scripts for application lifecycle management