While Loop In Powershell Script To Set