public override void ExecuteCmdlet()
{
List<PerformanceCounterIdentifier> counterNameSubscription = this.CounterNames.Select(counterName => new PerformanceCounterIdentifier { CounterName = counterName }).ToList();
var dsProperties = new PSLinuxPerformanceObjectDataSourceProperties
{
ObjectName = this.ObjectName,
InstanceName = this.InstanceName,
IntervalSeconds = this.IntervalSeconds,
PerformanceCounters = counterNameSubscription
};
CreatePSDataSourceWithProperties(dsProperties);
}
}