WMIC commands
Local
wmic NTDOMAIN Get DomainControllerAddress,DomainName,Roleswmic /NAMESPACE:\\root\directory\ldap PATH ds_user GET ds_samaccountnamewmic /NAMESPACE:\\root\directory\ldap PATH ds_group GET ds_samaccountnamewmic path win32_groupuser where (groupcomponent="win32_group.name='domain admins',domain="DOMAIN'")wmic /NAMESPACE:\\root\directory\ldap PATH ds_computer GET ds_samaccountnamewmic computersystem list full wmic volume list brief wmic /namespace:\\root\securitycenter2 path antivirusproduct GET displayName, productState, pathToSignedProductExeAD
Last updated