I’m new to BigFix. I’m going to build a fixlet to check whether the client is joined to domain, if yes then get the Minimum Password Length setting via WMI and check whether its value is equal or greater than 14. Otherwise, checking the setting of security database instead. I have some hints but not sure about how to write the correct one, please kindly assist.
What I knew are,
Way to check whether it’s connected to AD: exists rsop computer wmi whose (exists select objects “* FROM RSOP_SecuritySettingNumeric where KeyName=‘MinimumPasswordLength’ and precedence = 1” of it)
Way to obtain AD value: integer values of properties “Setting” of select objects “* FROM RSOP_SecuritySettingNumeric where KeyName=‘MinimumPasswordLength’ and precedence = 1” of rsop computer wmi
Way to obtain local setting: minimum password length of security database