How to get the data from msinfo32 with wmic commands
written by Andrew Shay on 2018-03-23
I was recently looking to gather the same data that msinfo32 reports and I found a couple wmic commands that provided me with what I needed.
The first is a basic wmic command eg
wmic service get /format:list. This will output the services on Windows.
wmic /? to see a list of other information you can gather.
Other formatting options
The second wmic command uses the CIM WMI Provider. eg
wmic path CIM_LogicialDisk get /value. This outputs the logical disks that Windows detects.
To find a list of possible options see the MSDN docs https://msdn.microsoft.com/en-us/library/aa386541.aspx
Apache disable TLS_RSA_WITH_3DES_EDE_CBC_SHA after LetsEncrypt
written by Andrew Shay on 2017-05-09
This guide is for Apache but might be similar for other web servers
To drop support for this protocol you must
- Restart apache
sudo service apache2 restart
Also, here is the default conf file
Subreddit Monitor supports multiple subreddits
written by Andrew Shay on 2017-02-25
Subreddit monitor now supports multiple subreddits via a JSON file
View on GitHub
written by Andrew Shay on 2016-12-22
I created a really simple script that parses the RSS of a subreddit and prints a message when a new thread is posted (checking every 5 minutes).
This was just a script to test this functionality that will be integrated into a larger project.
Blog built with Lektor
written by Andrew Shay on 2016-11-16
My blog has been rebuilt and is now generated with Lektor!