Skip to content

Instantly share code, notes, and snippets.

@MHaggis
Last active April 14, 2023 14:21
Embed
What would you like to do?

Inputs.conf


###
# Modify cron schedule as you like. Default is once daily. 
# Modify index as needed.
# We recommend this method over the other options provided.
###
[powershell://DriverInventory]
script = driverquery /FO csv /v
schedule = 0 0 * * *
#schedule = */5 * * * *
sourcetype = PwSh:DriverInventory
index=win

props.conf

[PwSh:DriverInventory]
REPORT-DriverQuery = REPORT-DriverQuery

transforms.conf

[REPORT-DriverQuery]
DELIMS = ","
FIELDS = "ModuleName","DisplayName","Description","DriverType","StartMode","State","Status","AcceptStop","AcceptPause","PagedPool","Code","BSS","LinkDate","Path","Init"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment