programmierung:powershell
**Dies ist eine alte Version des Dokuments!**
Some common tasks in Windows PowerShell
suppress error messages (even those that won't go away with -ea 0
): $ErrorActionPreference = "silentlycontinue"
check if an error occured (e.g. after cmdlet with suppressed output): if (!$?)
copy-item
throws an UnauthorizedAccessException
: use parameter -force
programmierung/powershell.1334819781.txt.gz · Zuletzt geändert: 2014-04-05 11:42 (Externe Bearbeitung)