Powershell - Diagnostic (log, )

Windows Powershell Menu

Powershell - Diagnostic (log, …)

Log

  • Write-Host: Write directly to the console, not included in function/cmdlet output. Allows foreground and background colour to be set.
  • Write-Debug: Write directly to the console, if DebugPreference set to Continue or Stop.
  • Write-Verbose: Write directly to the console, if VerbosePreference set to Continue or Stop.

Documentation / Reference







Share this page:
Follow us:
Task Runner