# PS 2 - get wmiobject - multiple computers -append csv

**URL:** <https://forums.powershell.org/t/ps-2-get-wmiobject-multiple-computers-append-csv/665>\
**Category:** PowerShell Help\
**Created:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/ps-2-get-wmiobject-multiple-computers-append-csv/665 "2011-12-31T18:30:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![archives](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@archives](https://forums.powershell.org/u/archives)\
**Post date:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/ps-2-get-wmiobject-multiple-computers-append-csv/665/1 "2011-12-31T18:30:00Z")

</div>

by Symbiot at 2013-03-01 04:34:50

> hi   
>   
> I need to run a small script to get some wmi info from a bunch of computers… it must run once on each single computer.  
>   
> `get-wmiobject win32_computersystem | select-object Manufacturer, Model | export-csv \fileserver\mrt$\models.csv -append`  
>   
> I did the above on my w8 machine… all is well… but w7 machines are running ps2…   
>   
> soooo… how can I do the above script within ps2?

by mjolinor at 2013-03-01 05:36:55

> Couple of options:  
>   
> 1. Have each machine write it’s own .csv file, using it’s computername in the filename. Then use another script on the back end to gather them up and consolidate them into a single .csv file. This will also eliminate file contention problems from multiple machines trying to update a common .csv file at the same time.  
>   
> 2. Get those W7 machines upgraded to V3.  
>   
> Personally, I’d go with "All of the above".

---

<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:58pm UTC](https://forums.powershell.org/t/ps-2-get-wmiobject-multiple-computers-append-csv/665/2 "2024-05-16T20:58:31Z")

</div>

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


