Powershell Function Vs Do Until