Powershell Change Variable To Factor