This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Perfmon Name and Help | |
$categoryName = "MyAppPerformance" | |
$categoryHelp = "MyApp" | |
$categoryType = [System.Diagnostics.PerformanceCounterCategoryType]::MultiInstance | |
# Fix it by Index, three arrays where indices must match | |
$counterName = "Count", "Time" | |
$counterType = "NumberOfItems32", "NumberOfItems32" | |
$counterHelp = "Count", "Time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=ROUNDDOWN((TODAY()-CONCATENATE(MID(A1;1;2);"-";MID(A1;3;2);"-";MID(A1;5;2))*1)/365,25;0) | |
(expects 2 digits for year) |