you can get a lot of PC Information use WMI
to use it for Remote PC you need to enable "winrm" Service on Remote PC
try Powershell on Remote PC and check with
Code: Select all
get-service winrmCode: Select all
enable-PSRemoting -forceCode: Select all
winrm s winrm/config/client '@{TrustedHosts="REMOTECOMPUTERNAME/IP"}'IP = 192.xxx.xxx.xxx
---
also Windows Firewall is blocking the Remote Access.
goto Firewall and select WMI when all is enable try
Code: Select all
get-wmiobject CIM_Memory -computername "RemoteName" -credential "username"