Skip to content

Instantly share code, notes, and snippets.

@MHaggis
Last active September 28, 2023 22:57
Show Gist options
  • Save MHaggis/3e4dc85c69b3f7a4595a06c8a692f244 to your computer and use it in GitHub Desktop.
Save MHaggis/3e4dc85c69b3f7a4595a06c8a692f244 to your computer and use it in GitHub Desktop.

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