counter exclusion

Jun 11, 2013 at 7:27 PM
Is it possible to use wildcard in counter exclusion?
Example : exclude all process instances starting by svc (svc*)
Or maybe regular expression?
Jun 14, 2013 at 10:25 PM
Hi frvallet,

No, but I could probably add it easily or you could make the modification yourself.
On line 2841 of PAL.ps1, here is the code:
                            ForEach ($XmlExcludeNode in $XmlDataSource.SelectNodes('./EXCLUDE'))
                                If ($XmlExcludeNode.INSTANCE -eq $XmlCounterInstanceNode.NAME)
                                    $IsCounterInstanceMatch = $False
You could change the -eq to be a -match for a regular expression. I would need to test it.
What kind of analysis are you trying to create?