Powershell Process 5 Csvs Simultaneously

Home Forums Scripting PowerShell Powershell Process 5 Csvs Simultaneously

Viewing 1 post (of 1 total)
  • Author
  • Avatar


    I’m looking to run a command/check against every machine in our domain

    I can export all the relevant PC’s to a 5000 row csv file and then use a loop to run a command against them one at a time

    This does work. However cycling through the PCs one at a time will take days.

    Id really like to process all the PCs in a few hours

    Best way I can think of to do that is to split the main csv into 5 smaller 1000 row csv files and then process all 5 simultaneously

    This way I could get the answer much quicker. Ideally id like to avoid running 5 scripts each processing 1 csv. Id prefer to have just one script running.

    Is it possible to do this ?

    Thanks for reading

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.