This is the built-in help made by Microsoft for the command 'Set-BCCache', 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.
Modifies the cache file configuration.
Set-BCCache [[-Path] <String>] [-AsJob] [-CimSession <CimSession[]>] [-Defragment] [-Force] [-MoveTo <String>] [-PassThru] [-Percentage <UInt32>] [-SizeBytes <UInt64>]
[-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-BCCache [-Cache] <CimInstance[]> [-AsJob] [-CimSession <CimSession[]>] [-Defragment] [-Force] [-MoveTo <String>] [-PassThru] [-Percentage <UInt32>] [-SizeBytes <UInt64>]
[-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
The Set-BCCache cmdlet modifies the cache file configuration. Use the Cache parameter to specify which cache should be configured.
<
Online Version: http://go.microsoft.com/fwlink/?linkid=287293
Where-Object
Clear-BCCache
Get-BCDataCacheExtension
<
Example 1
PS C:\>Set-BCCache -Path C:\datacache –MoveTo D:\datacache
This example moves the cache file from C:\datacache to D:\datacache.
Example 2
PS C:\>Get-BCDataCacheExtension | Where-Object –FilterScript {$_.MaxCacheSizeAsPercentageOfDiskVolume –Eq 10} | Set-BCCache -Percentage 20
This example increases data cache files from 10% to 20%.