How to repeat powershell command again and again?

Shahpari

Is there anyway we can repeat powershell script once it end? i want to run this command and once it complete i want this command to run again. i don't want to use task scheduler.

gci . -Recurse -Directory | % { if(!(gci -Path $_.FullName)) {ri -Force -Recurse $_.FullName} }
Алексей Семенов

i usually use while loop

while ($true) {
    # do something
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to repeat (recursive) query, again and again?

How do I make an certain command repeat over and over again?

How to repeat the items in array list again and again in JavaScript/HTML

How to repeat a code in html without writing the same code again and again

How to put a choice to try again to repeat the loop?

How to run python script without writing command on cmd again and again

Is it OK to use ng-repeat again and again?

How to disable the try again password in ssh command

Screen Command - How to leave screen and start it again

How to call an URL again and again

How can I make the code choose one of the items from the list, print it and repeat the process again and again?

How to write query to select value without repeat same values again?

How to repeat a command forever in Powershell?

how to prevent recreat new Fragment again and again?

How to stop function again and again calling in render

How to reduce the firebase database query again and again?

How to revert configuration of chmod to run command as root again

Ubuntu is in command mode how to turn on the GUI mode again?

PowerShell Switch Executing Again On Quit

Run same command again but as root

How to open process again?

How to call LiveData again

How circuit is closed again?

How to enable Unity again?

Why npm install command reruns again and again in node app?

Repeat the Program for again Search Array Element

Alexa Skills Dialog Management: how to repeat last intent without specifing its utterances again

How do you get a python script to repeat x times over again?

How to send two Recurring Cloud Message every week one after another and repeat again from Firebase Console?