Skip to content

Instantly share code, notes, and snippets.

@RosenPetrov
RosenPetrov / Configure-AppPoolAccessToPerformanceMonitoring.ps1
Created June 22, 2018 06:47
PowerShell script for configuring Performance Counters access in Sitecore 9
function IISReset {
[CmdletBinding(SupportsShouldProcess = $true)]
Param
(
[string]$Reason,
[int]$TryNumber = 0,
[switch]$Force
)
if ($Force -or $PSCmdlet.ShouldProcess("IIS", $Reason)) {
@pbering
pbering / Performance.config
Last active January 29, 2023 12:20
Sitecore Performance (Docker friendly)
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<pipelines>
<initialize>
<processor type="Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel">
<patch:delete />
</processor>
<processor type="Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel">
<patch:delete />
</processor>