PowerShell

PowerShell ist eine objektorientierte Shell und Scripting-Sprache von Microsoft.

Sie ermöglicht Systemverwaltung und Automatisierung durch Cmdlets und .NET-Integration.

Important

PowerShell-Features:

  • Objektorientiert (nicht nur Text)
  • Cmdlet-Syntax (Verb-Noun)
  • .NET Framework Integration
  • Remote-Management (WinRM)
Example

# Services auflisten
Get-Service | Where-Object {$_.Status -eq "Running"}

# Dateien kopieren
Copy-Item -Path "C:\source" -Destination "C:\target" -Recurse

Success

Standard-Tool für Windows-Administration und Office 365.