Hello @lgorrin18, Welcome to the forum!
There is no Windows code to check the vetting. There is a Community script, which could also show the vetting percentage: