GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on Petri.com - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

Powershell Process 5 Csvs Simultaneously

Home Forums Scripting PowerShell Powershell Process 5 Csvs Simultaneously

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    confuseis
    Participant
    #167326

    Hi

    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.