PowerShell Logo Small

Write-FileSystemCache



This is the built-in help made by Microsoft for the command 'Write-FileSystemCache', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Writes the file system cache to disk.

SYNTAX


Write-VolumeCache [-DriveLetter] <Char[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [<CommonParameters>]
Write-VolumeCache [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [<CommonParameters>]
Write-VolumeCache [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -FileSystemLabel <String[]> [<CommonParameters>]
Write-VolumeCache [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -Path <String[]> [<CommonParameters>]
Write-VolumeCache [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -ObjectId <String[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Write-VolumeCache cmdlet writes the file system cache to disk. By default, Windows caches file data to be written to disk in a special memory area before writing the
data to disk.


This cmdlet enables you to forcibly empty, or flush, the write cache by writing it to disk.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkId=313273

REMARKS

<

Examples


Example 1: Write the volume cache

PS C:\>Write-VolumeCache C



This command writes the volume cache for the C: drive.