Giter VIP home page Giter VIP logo

Comments (5)

alagoutte avatar alagoutte commented on June 19, 2024

Hi,

Sorry i not a expert with GUI interface...
there is a Write-Progress but it is for CLI...

What the idea of your script ?

from powerfgt.

magarjoba avatar magarjoba commented on June 19, 2024

What the idea of your script ?

the idea is. what
you threw in the script window for example 100-1000 fortinets
something to manually not pull out the information.
I made functions that spin in the body of the script and pull out the current info...

The only problem I don't understand is how to organize the progress bar...
I, in the cycle, as you see, step by step go, for example, to the device. .. check the model and do what I want...

working hours...
I can send you the body of the Checks for the test ...
which i do..
but in general terms, I check interfaces...for the Validity of the data.

from powerfgt.

alagoutte avatar alagoutte commented on June 19, 2024

you can count the number of Fortigate do you have and use for write-progress (increment after each fortigate)

from powerfgt.

alagoutte avatar alagoutte commented on June 19, 2024

Hi,

It is good ?

from powerfgt.

magarjoba avatar magarjoba commented on June 19, 2024

not yet..
many conditions
progress should be taken into account overall..
In general, I have time to do...
..
By the way, right now I'm raising AWS + Ansimble FortiGate / /
I want to test it

foreach ( $i in 1..100 ) {
  Write-Progress  -Id 0 "Step $i" -Status '))))(((((<<<<' -PercentComplete $i -CurrentOperation OuterLoop
  foreach ( $j in 1..100 ) {
    Write-Progress -Id 1 -ParentId 0 "Step $i - Substep $j" -PercentComplete $j -CurrentOperation InnerLoop
    foreach ( $k in 1..100 ) {
      Write-Progress -Id 2  -ParentId 1 "Step $i - Substep $j - iteration $k" -PercentComplete $k -CurrentOperation InnerLoop   ; start-sleep -m 1
    }
  }
}

from powerfgt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.