Powershell Get Environment Variables In Unix Script If Statement