Fix PowerShell script

Fix PowerShell script for running WGA for trunk