What is wmiprvse.exe?

WMI Provider Host · Microsoft

Gives system information to programs.

Is it safe?

The real file is in C:\Windows\System32\wbem.

High CPU or memory

High CPU: a program is asking it constantly; find which with Event Viewer > Microsoft > Windows > WMI-Activity.