Export (0) Print
Expand All

Use Windows PowerShell cmdlets to manage performance in SharePoint 2013

Published: July 16, 2012

Summary: Learn about the Windows PowerShell cmdlets that you can use to manage performance for SharePoint 2013.

Applies to:  SharePoint Foundation 2013 | SharePoint Server 2013 

The following table shows the Windows PowerShell cmdlets that you can use to manage performance for a SharePoint 2013 farm.

Index of Windows PowerShell cmdlets for SharePoint 2013 includes a complete list of all cmdlets in SharePoint 2013.

Cmdlet name Description

Add-SPDiagnosticsPerformanceCounter

Adds an instance of a performance counter.

Get-SPDiagnosticsPerformanceCounter

Returns a collection of performance counters.

Remove-SPDiagnosticsPerformanceCounter

Removes an instance of a performance counter.

Disable-SPWebApplicationHttpThrottling

Turns off network throttling for a web application.

Enable-SPWebApplicationHttpThrottling

Turns on network throttling for a web application.

Get-SPBusinessDataCatalogThrottleConfig

Returns the throttling configuration for a Business Data Connectivity Service application.

Set-SPBusinessDataCatalogThrottleConfig

Sets the throttling configuration for a Business Data Connectivity Service application.

Get-SPWebApplicationHttpThrottlingMonitor

Reads all counters for network throttling on a web application.

Set-SPWebApplicationHttpThrottlingMonitor

Sets the Health Score bucket values for an existing network throttling performance counter for a specified web application.

Start-SPDiagnosticsSession

Reports diagnostic information to the usage database.

Stop-SPDiagnosticsSession

Stops the diagnostics session.

Add-SPRoutingMachineInfo

Adds a new routing target to the farm.

Add-SPRoutingMachinePool

Adds a new machine pool.

Add-SPRoutingRule

Adds a routing rule.

Add-SPThrottlingRule

Adds a new throttling rule.

Get-SPRoutingMachineInfo

Returns all the routing targets.

Get-SPRoutingMachinePool

Returns all available routing pools.

Get-SPRoutingRule

Returns all routing rules.

Get-SPThrottlingRule

Returns all throttling rules.

Remove-SPRoutingMachineInfo

Removes an external routing target.

Remove-SPRoutingMachinePool

Removes a routing pool from Request Manager.

Remove-SPRoutingRule

Removes a routing rule.

Remove-SPThrottlingRule

Removes a throttling rule.

Set-SPRoutingMachineInfo

Sets routing target properties.

Set-SPRoutingMachinePool

Sets properties of a machine pool.

Set-SPRoutingRule

Changes properties of an existing routing rule.

Set-SPThrottlingRule

Changes properties of an existing throttling rule.

Get-SPRequestManagementSettings

Returns a Request Manager object.

New-SPRequestManagementRuleCriteria

Creates criteria for the rule to match.

Set-SPRequestManagementSettings

Sets Request Manager properties.

Get-SPDistributedCacheClientSetting

Returns distributed cache settings from usage.

Clear-SPDistributedCacheItem

Clears cached items from the distributed cache server.

Set-SPDistributedCacheClientSetting

Sets distributed cache settings.

Stop-SPDistributedCacheServiceInstanceGracefullyOnLocalServer

Obsolete. For replacement, see Stop-SPDistributedCacheServiceInstance

Stop-SPDistributedCacheServiceInstance

Stops an instance of the distributed cache service on a local server.

Remove-SPDistributedCacheServiceInstanceOnLocalServer

Obsolete. For replacement, see Remove-SPDistributedCacheServiceInstance

Remove-SPDistributedCacheServiceInstance

Removes an instance of the distributed cache service from a local server.

Add-SPDistributedCacheServiceInstanceOnLocalServer

Obsolete. For replacement, see Add-SPDistributedCacheServiceInstance

Add-SPDistributedCacheServiceInstance

Adds an instance of the distributed cache service to a local server.

Update-SPDistributedCacheSize

Reconfigures the allocation of memory that is dedicated to the Distributed Cache service.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft