Skip to content

Instantly share code, notes, and snippets.

@h3nryza
Created July 17, 2018 17:38
Show Gist options
  • Select an option

  • Save h3nryza/addc4abcc3bf8fd4ffaa23f64b3f5b7f to your computer and use it in GitHub Desktop.

Select an option

Save h3nryza/addc4abcc3bf8fd4ffaa23f64b3f5b7f to your computer and use it in GitHub Desktop.
Powershell Debug prefs
$VerbosePreference =
<#
Continue - Show the message on the console
SilentlyContinue - do not show the message. [this is the Default action]
Stop - show the message and then halt
Inquire - prompt the user
<#
<#
Write-Debug - Write a debug message to the host display
Write-Error - Write an object to the error pipeline.
Write-Host - Display objects through the host user interface
Write-Output - Write an object to the pipeline
Write-Progress - Display a progress bar
Write-Warning - Write a warning message
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment