# "Inventory Intervention" - Processor inventory script

**URL:** <https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250>\
**Category:** PowerShell Help\
**Created:** [February 5, 2014, 5:18pm UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250 "2014-02-05T17:18:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jake-sully](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jake-sully](https://forums.powershell.org/u/jake-sully)\
**Post date:** [February 5, 2014, 5:18pm UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/1 "2014-02-05T17:18:54Z")

</div>

Hello,  
I am trying to do exactly what was in the 2013 scripting games event 2. I’ve been trying to find Mike Robbins script and can’t as the link on his site isn’t working.

But I have an environment where I can’t patch the 2003 servers to get the right info and I’ve tried miserably to get the correct CPU count on servers.

Can anyone help me get a script that will report this information for the servers?

Thank you all!  
Jake

---

<div class="post-metadata">

**Author:** ![vern\_anderson](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/vern_anderson/32/5140_2.png) [@vern\_anderson](https://forums.powershell.org/u/vern_anderson)\
**Post date:** [February 6, 2014, 3:43am UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/2 "2014-02-06T03:43:02Z")

</div>

You can try his site [http://mikefrobbins.com/](http://mikefrobbins.com/) he probably has it archived there.

I archived the beginner category including my losing scripts but I don’t have the advanced winners.

---

<div class="post-metadata">

**Author:** ![mikefrobbins](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/mikefrobbins/32/272_2.png) [@mikefrobbins](https://forums.powershell.org/u/mikefrobbins)\
**Post date:** [February 9, 2014, 11:39am UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/3 "2014-02-09T11:39:30Z")

</div>

I added the script to one of my blog entries for that event since the link to it on the Scripting Games site is no longer valid. You can find it here:  
[http://mikefrobbins.com/2013/05/08/2013-powershell-scripting-games-advanced-event-2-why-not-to-use-the-win32\_computersystem-wmi-class/](http://mikefrobbins.com/2013/05/08/2013-powershell-scripting-games-advanced-event-2-why-not-to-use-the-win32_computersystem-wmi-class/)

µ

---

<div class="post-metadata">

**Author:** ![jake-sully](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jake-sully](https://forums.powershell.org/u/jake-sully)\
**Post date:** [February 13, 2014, 1:07pm UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/4 "2014-02-13T13:07:01Z")

</div>

Hi Mike,

Thank you very much!! I’m going to try it right now, I tried a couple others, but have read your version is the only one that really works on the 2003 servers that aren’t patched!

Really Appreciate it!

---

<div class="post-metadata">

**Author:** ![jake-sully](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jake-sully](https://forums.powershell.org/u/jake-sully)\
**Post date:** [February 24, 2014, 5:14pm UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/5 "2014-02-24T17:14:29Z")

</div>

Hey Mike

Thank you again for this! Is there a way to get the number of cores per physical processor from the script as well if the 2003 servers aren’t patched?

---

<div class="post-metadata">

**Author:** ![vern\_anderson](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/vern_anderson/32/5140_2.png) [@vern\_anderson](https://forums.powershell.org/u/vern_anderson)\
**Post date:** [February 25, 2014, 12:22am UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/6 "2014-02-25T00:22:39Z")

</div>

Get-WmiObject Win32\_ComputerSystem NumberOfLogicalProcessors | Select-Object NumberOfLogicalProcessors

---

<div class="post-metadata">

**Author:** ![vern\_anderson](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/vern_anderson/32/5140_2.png) [@vern\_anderson](https://forums.powershell.org/u/vern_anderson)\
**Post date:** [February 25, 2014, 12:24am UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/7 "2014-02-25T00:24:13Z")

</div>

This properties shows the number of physical PROCs

“NumberOfProcessors”

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:52pm UTC](https://forums.powershell.org/t/inventory-intervention-processor-inventory-script/2250/8 "2024-05-16T20:52:22Z")

</div>

Closed on May 16, 2024, 8:52pm UTC


