Powershell automate publish scripts