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
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
Post a Comment