# PowerShell PC Inventory

**URL:** <https://forums.powershell.org/t/powershell-pc-inventory/14156>\
**Category:** PowerShell Help\
**Created:** [April 14, 2020, 12:10pm UTC](https://forums.powershell.org/t/powershell-pc-inventory/14156 "2020-04-14T12:10:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian-clanton](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@brian-clanton](https://forums.powershell.org/u/brian-clanton)\
**Post date:** [April 14, 2020, 12:10pm UTC](https://forums.powershell.org/t/powershell-pc-inventory/14156/1 "2020-04-14T12:10:47Z")

</div>

Wanted to reach out to the PS collective for any ideas on how to implement a solution to the inventory idea that I have.

My company provides I.T. support for a number of different clients/Companies with different types of network topologies, domain types and PC workgroups, etc…

One of our issues is keeping an accurate record of PC inventory. I have been creating scripts that can either run on a domain or single PC and then we can gather those inventory files and import into a single spreadsheet, database, web site, etc.

We are looking to automate this process a bit and looking towards how Nagios works where we install a single service on a server and it reports back information about the server. Now, Nagios is more of a server monitoring tool where when a threshold is hit, the service will trigger an event, which will send us an email of high CPU utilization, disk space, etc…

The idea is, if I can have an inventory tool run as a service on a server/machine, it would allow us keep an accurate record of inventory by letting the machine report home rather than having to remotely connect to a LARGE array of servers, all with different domain credentials, and then run scripts. Seems more manageable to have a single service running on a device especially with laptops which might not be in the office at the time the inventory script is run.

My idea is just to create a basic inventory script (Get-WMIobject -class win32\_computersystem), which exports to an html or json file and then somehow get that file to a central server (SSh, FTP, or via API) to then process the data.

I wanted to reach out to see if anyone has already done something like this, or maybe have a better idea or think this is a bad idea because of X, Y, Z.

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

---

<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:30pm UTC](https://forums.powershell.org/t/powershell-pc-inventory/14156/2 "2024-05-16T20:30:12Z")

</div>

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


