PowerShell Logo Small

Set-StorageProvider



This is the built-in help made by Microsoft for the command 'Set-StorageProvider', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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

Modifies whether to enable the SMP provider cache.

SYNTAX


Set-StorageProvider [-ProviderName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-RemoteSubsystemCacheMode <RemoteSubsystemCacheMode>] [-ThrottleLimi
t <Int32>] [<CommonParameters>]
Set-StorageProvider [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-RemoteSubsystemCacheMode <RemoteSubsystemCacheMode>] [-ThrottleLimit <Int32>] -ProviderUniqueI
d <String[]> [<CommonParameters>]
Set-StorageProvider [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-RemoteSubsystemCacheMode <RemoteSubsystemCacheMode>] [-ThrottleLimit <Int32>] -InputObject <Ci
mInstance[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-StorageProvider cmdlet modifies whether to enable the symmetric multiprocessing (SMP) provider cache. Specify a value of Manual for the RemoteSubsystemCacheMo
de parameter to enable caching. If you enable the cache on the management node that manages storage on remote computers or clusters, the management node caches remote
objects. This caching can improve enumeration operations, such as the Get-StoragePool cmdlet or the New-VirtualDisk cmdlet.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=288115
Get-StorageProvider
Get-StoragePool
New-VirtualDisk

REMARKS

<

Examples


Example 1: Enable caching for a provider

PS C:\>Set-StorageProvider -ProviderName "Provider87" –RemoteSubSystemCacheMode Manual



This command enables caching for a provider.