Tag Archives: extract

Extract private key from Microsoft CA-issued certificate

I wanted to use my internal Active Directory Certificate Services server to create a certificate for a Synology NAS. The Synology needs the private key and the certificate to be in separate files. I created the certificate by using the … Continue reading

Rate this:

Posted in Security, Storage | Tagged , , , , , , , , , , , , | Leave a comment

PowerShell: Get SCCM Malware Detections to CSV file

Pulling detection data from dedicated Malware systems such as McAfee ePO is quite straightforward, simple, and fairly powerful. The SCCM 2012 reports are arguably powerful, but whereas ePO has a fairly straightforward report creator built in, with SCCM you need … Continue reading

Rate this:

Posted in PowerShell | Tagged , , , , , , , , , , | Leave a comment

PowerShell script to get temperature from NetBotz

Wrote this to extract the temperature reading from a few NetBotz devices that I have in my datacentres. Note that the second time I call the function, it is getting the temperature from a second (non-docked) sensor pod attached to … Continue reading

Rate this:

Posted in PowerShell, Scripting | Tagged , , , , , , | Leave a comment

Get filename minus extension from full file path using VBScript

I have a path to a file, e.g. \\server\share\folder\subfolder\filename.extension I want just the filename bit so that I can use it to create a temporary folder. During the course of thinking about how best to do this I came up … Continue reading

Rate this:

Posted in Scripting | Tagged , , , , , | Leave a comment