$counters = "\Netlogon(_Total)\*","\Security System-Wide Statistics\NTLM Authentications", `
"\Security System-Wide Statistics\Kerberos Authentications","\DirectoryServices(*)\*","\Database(lsass)\*", `
"\NTDS\*","\Memory\*","\PhysicalDisk(*)\*","\Processor(*)\*","\TCPv4\*","\TCPv6\*","\DNS\*"
get-counter -Counter $counters -PipelineVariable perfcounter -SampleInterval 15 -MaxSamples 40 | `
Export-Counter -Path ".\dc_perf_collection.blg"
$counters = "\Netlogon(_Total)\*","\Security System-Wide Statistics\NTLM Authentications", `
"\Security System-Wide Statistics\Kerberos Authentications","\DirectoryServices(*)\*","\Database(lsass)\*", `
"\NTDS\*","\Memory\*","\PhysicalDisk(*)\*","\Processor(*)\*","\TCPv4\*","\TCPv6\*","\DNS\*"
get-counter -Counter $counters -PipelineVariable perfcounter -SampleInterval 15 | Export-Counter -Path ".\dc_perf_collection.blg" -maxsize (100mb) -circular