Compartilhar via


Set_BCCacheByCache method of the MSFT_NetBranchCacheOrchestrator class

Modifies the cache file configuration.

Syntax

uint32 Set_BCCacheByCache(
  [in]  string                   Cache[],
  [in]  string                   MoveTo,
  [in]  uint32                   Percentage,
  [in]  uint64                   SizeBytes,
  [in]  boolean                  Defragment,
  [in]  string                   PolicyStore,
  [in]  boolean                  PassThru,
  [in]  boolean                  Force,
  [out] MSFT_NetBranchCacheCache cmdletOutput[]
);

Parameters

Cache [in]

The cache which should be modified

MoveTo [in]

Specifies the new location on disk for this this cache file.

Percentage [in]

Specifies the new size (in terms of disk percentage) of this cache file.

SizeBytes [in]

Specifies the new size of this cache file.

Defragment [in]

Indicates the cache should be defragmented

PolicyStore [in]

Specifies the path to the group policy object that should be modified by this cmdlet.

PassThru [in]

Indicates that the method should output an object that represents the modified cache in the CmdletOutput parameter.

Force [in]

Indicates the operation should not prompt for confirmation.

cmdletOutput [out]

Receives a MSFT_NetBranchCacheCache object that represents the modified cache.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCimv2
MOF
NetPeerDistCim.mof
DLL
NetPeerDistCim.dll

See also

MSFT_NetBranchCacheOrchestrator

MSFT_NetBranchCacheCache