Functions/Stream/Disable-Verbose.ps1
<# .SYNOPSIS Disable the verbose output. .DESCRIPTION Disable the verbose output by setting the global VerbosePreference variable to the value 'SilentlyContinue'. .INPUTS None. .OUTPUTS None. .EXAMPLE Disable-Verbose Disable the verbose output. .NOTES Author : Claudio Spizzi License : MIT License .LINK https://github.com/claudiospizzi/Spizzi.Profile #> function Disable-Verbose { [CmdletBinding()] [Alias('dv')] param ( ) Set-Variable -Scope Global -Name VerbosePreference -Value 'SilentlyContinue' } |