web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / looping through a list...
Power Automate
Answered

looping through a list of ip addresses - sorry i really did google the f out of this!

(1) ShareShare
ReportReport
Posted on by 20

i recorded me logging onto putty and downloading a switch config.  it works perfect every single time.  i am now trying to either create an array (i think they are called lists in PAD) so that i can substitute in the other 200 ip addresses of all of my other switches and routers.

 

it is essentially just adding a single variable that loops through the list of devices so i don't need to either input the ip address or make 200 copies of the recording and change the ip address for each one.

 

thank you!!

I have the same question (0)
  • Verified answer
    joshd111 Profile Picture
    145 on at

    You can store the IP addresses into Excel and then read from there into a list using:

    - Launch Excel

    - Retrieve data table column into list

     

    Then iterate the list using "For each" type loop

     

     

  • Verified answer
    AndyMark Profile Picture
    20 on at

    thank you soooooo much.  i was able to use what you gave me to find this on youtube:

    https://www.youtube.com/watch?v=4s7fzX3BaH8

    I am in business!

  • ms250631 Profile Picture
    2 on at

    Hi Andy,

    I'm going through similar task on daily basis. I have to collect log from more than 500 devices for different customers. This script will ease my work and would really appreciate if you could share the script? 

    Thankyou 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard