Functions/Stream/Disable-Information.ps1

<#
    .SYNOPSIS
    Disable the information output.

    .DESCRIPTION
    Disable the information output by setting the global InformationPreference
    variable to the value 'SilentlyContinue'.

    .INPUTS
    None.

    .OUTPUTS
    None.

    .EXAMPLE
    Disable-Information
    Disable the information output.

    .NOTES
    Author : Claudio Spizzi
    License : MIT License

    .LINK
    https://github.com/claudiospizzi/Spizzi.Profile
#>


function Disable-Information
{
    [CmdletBinding()]
    [Alias('di')]
    param
    (
    )

    Set-Variable -Scope Global -Name InformationPreference -Value 'SilentlyContinue'
}