This is an archive version of the document. To get the most up-to-date information, see the current version.

Clear-VBRWANCache

In this article

    Short Description

    Removes data from WAN accelerator global cache.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Enterprise Plus

    Syntax

    Clear-VBRWANCache -Accelerator <CWanAccelerator> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Related Commands

    Get-VBRWANAccelerator

    Detailed Description

    This cmdlet clears WAN accelerator global cache.

    You may need to clear the global cache, for example, if the data gets corrupted.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Accelerator

    Specifies the WAN accelerator you want to clear the cache of.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Example 1

    This command clears cache of WAN accelerator named "WAN 01". The accelerator is obtained with Get-VBRWANAccelerator and piped down.

    PS C:\PS> Get-VBRWANAccelerator -Name "WAN 01" | Clear-VBRWANCache

    Example 2

    This command clears cache of the WAN accelerator represented by the $"accelerator01" variable. The accelerator is obtained with Get-VBRWANAccelerator and assigned to the variable beforehand.

    PS C:\PS> Clear-VBRWANCache -Accelerator $"accelerator01"