Problem to get remote wmi


hello, try connect remote server , numbers of cpucores using wmi

but command line use doesn't seem connect remotly localy.

for example here line

ps c:\users> get-wmiobject -class win32_processor -computername testremote42 -namespace $namespace | select numberofcores, numberoflogicalprocessors

                                     numberofcores                          numberoflogicalprocessors
                                     -------------                          -------------------------
                                                 2                                                  2

the problem test 42 has 4 cores, , local computer has 2 cores, can me on this.

thanks

 

http://msdn.microsoft.com/en-us/library/aa394373(v=vs.85).aspx
  numberofcores data type: uint32 access type: read-only number of cores for current instance of processor. core physical processor on integrated circuit. example, in dual-core processor property has value of 2. more information, see remarks.  windows server 2003, windows xp, , windows 2000: property not available. numberoflogicalprocessors data type: uint32 access type: read-only number of logical processors for current instance of processor. processors capable of hyperthreading, value includes processors have hyperthreading enabled. more information, see remarks.  windows server 2003, windows xp, , windows 2000: property not available.  


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file