I had a need today to see what partitions were available on one of my servers. I generally try to use a command line whenever possible to solve problems like this. So, I went down the rabbit hole of Google, and found some useful techniques. Problem: Need to gather information about the physical and logical […]
Continue readingCategory Archives: Technical
Learning WMIC: part 3 – Software inventory per Critical Security Controls
The last time we saw how to use WMIC to find membership of an Active Directory group. That is useful, and should be done periodically as a part of the audit of the Windows environment. Here’s another problem for WMIC to help with… Problem: The Critical Security Controls identifies Inventory of Authorized and Unauthorized Software […]
Continue readingLearning WMIC: part 2 – Finding Group Members
Let’s dig around a little deeper into the capabilities of WMIC and use WMIC to find information needed to solve a problem Problem: list the active users with access to a system, and the groups they belong to… Solution: 1. All user accounts that have access to a windows host can be listed using wmic […]
Continue readingLearning WMIC: part 1 – Basic Syntax
WMIC is a powerful means to access the Windows Management Interface from the command line. More information about WMI can be found at the Wikipedia page – https://en.wikipedia.org/wiki/Windows_Management_Instrumentation There are a couple of scenarios for using WIMIC – against the local computer and against a remote computer. With either of the situations, WMIC will run by […]
Continue reading