title: How to change access control list of performance counter?
body: <p>I could get performance counters on my server as administrator:</p>
  
  <pre><code>PS C:\Users\Administrator\Documents&gt; Get-Counter '\memory\available bytes'
  
  Timestamp                 CounterSamples                                                                                      
  ---------                 --------------                                                                                      
  28.04.2014 5:19:55        \\vm108838-2\memory\available bytes :                                                               
                            393011200
  </code></pre>
  
  <p>But when I try to get performance counter from non-admin user, I get following error:</p>
  
  <pre><code>PS C:\Users\lpu3\Documents&gt; Get-Counter '\memory\available bytes'
  Get-Counter : Unable to connect to the specified computer or the computer is offline.
      + CategoryInfo          : InvalidResult: (:) [Get-Counter], Exception
      + FullyQualifiedErrorId : CounterApiError,Microsoft.PowerShell.Commands.GetCounterCommand
  </code></pre>
  
  <p><a href="http://technet.microsoft.com/en-us/library/hh849685.aspx" rel="nofollow">Documentation</a> states:</p>
  
  <blockquote>
    <p>Performance counters are often protected by access control lists (ACLs). To get all available performance counters, open Windows PowerShell with the "Run as administrator" option.</p>
  </blockquote>
  
  <p>So, the question is, where I could change that ACL to include my user? </p>