fix powershell, add performance counters