PowerShell: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 May 2023

  • curprev 15:5215:52, 12 May 2023Locke talk contribs 1,210 bytes +1,210 Created page with " == Allgemein == * Powershell ist seeeeehr inkonsistent was die Versionen angeht.... == Commands == '''ArrayList''' $files = New-Object System.Collections.ArrayList      $files.Add("C:\hallo.txt") '''For Schleife''' for ($i=1; $i -lt 10; $i++) {     Write-Host "$i"     } '''Foreach Schleife''' $files = Get-ChildItem -Recurse -Path "$path" foreach ($file in $files) { Write-Host "$file" } '''Functions''' function sagHallo($name) { ..." Tag: Visual edit