While Function Powershell Activate Scripts