Powershell Script Performance