Writes a string to the host's verbose display.
Snap-In: Microsoft.PowerShell.Utility
Syntax:
Write-Verbose
[-Message] <String> [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The write-verbose Cmdlet is usually used in scripts and commands to convey information as the script runs. For example; a script may look through a group of thousands of files for particular content. As the script does that, the console may show the search progress by the line "Searching for information…" That would come from a write-verbose Cmdlet in the script.