compatible with check powershell