This is the built-in help made by Microsoft for the command 'Set-BCCache', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 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 [<SwitchParameter>]] [-CimSession <CimSession>] [-Defragment [<SwitchParameter>]] [-Force
[<SwitchParameter>]] [-MoveTo <String>] [-PassThru [<SwitchParameter>]] [-Percentage <UInt32>] [-PolicyStore <String>] [-SizeBytes <UInt64>]
[-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-BCCache [-Cache] <CimInstance> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-Defragment [<SwitchParameter>]] [-Force
[<SwitchParameter>]] [-MoveTo <String>] [-PassThru [<SwitchParameter>]] [-Percentage <UInt32>] [-PolicyStore <String>] [-SizeBytes <UInt64>]
[-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
The Set-BCCache cmdlet modifies the cache file configuration. Use the Cache parameter to specify which cache should be configured.
<
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%.