The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


cheat_sheets_ps

This is an old revision of the document!


Windows PowerShell

Example: For Loop

Write-Host "Hello world!"

for ($var=1; $var -le 5; $var++) {

   Write-Host "The value of var is: $var"

}

Write-Host "End of for loop."
cheat_sheets_ps.1668981460.txt.gz · Last modified: by gman