counter exclusion

Jun 11, 2013 at 6:27 PM
Hi,
Is it possible to use wildcard in counter exclusion?
Example : exclude all process instances starting by svc (svc*)
Or maybe regular expression?
Coordinator
Jun 14, 2013 at 9: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?