Windows Dev Center

GetCounterCommand Class

The Get-Counter cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.This class is introduced in Windows PowerShell 2.0.


Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Diagnostics (in Microsoft.PowerShell.Commands.Diagnostics.dll)

'Usage
Dim instance As GetCounterCommand

[CmdletAttribute("Get", "Counter", DefaultParameterSetName="GetCounterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=138335")] 
public sealed class GetCounterCommand : PSCmdlet
/** @attribute CmdletAttribute("Get", "Counter", DefaultParameterSetName="GetCounterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=138335") */ 
public final class GetCounterCommand extends PSCmdlet
CmdletAttribute("Get", "Counter", DefaultParameterSetName="GetCounterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=138335") 
public final class GetCounterCommand extends PSCmdlet

This cmdlet gets performance counter data from local and remote computers. For more information about this cmdlet, see Get-Counter in the Microsoft TechNet Library.

For Help at the command line, type:

get-help get-counter


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft