To build upon the above answer:
The Windows app will do this but does not use Perfmon. You install the app on your Linux box and also on a Windows forwarder.
To gather the data from Windows, You'll need to install the app on the Windows forwarder. The better way is to install the forwarder on each Windows host because of scaling issues inherent with WMI. If you do decide to use WMI, then you'll need at least 1 forwarder installed on a Windows host. Typically this would be done in an AD domain. The forwarder must be installed using AD credentials that can access all the hosts in the domain.
See this article:
I strongly recommend that you read this documentation topic on Real-time Windows performance monitoring. There's two approaches to this :
Install a "central" forwarder on a Windows machine and use WMI to remotely poll CPU and memory usage information on your Windows hosts.
Install a forwarder on each Windows host from which you want to collect CPU and memory usage. Use perfmon inputs do to collect local performance information.
You cannot collect this kind of data remotely from a Linux indexer or forwarder.