Forked from meeyou33/gist:73bc1905921352c5bf77eaaf1144dbf2
Created
February 20, 2025 14:27
-
-
Save IISResetMe/14f4fdda3a91df4bada48b661401734d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$array = 1..10 | |
for ($i = 0; $i -lt $array.length; $i++) { | |
Write-Host "Loop #$($array[$i])" | |
if ($i = $array.length) { Write-Host "Last loop!" } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment