Hi Guys,
I am trying to figure out as way to export data from BigFix into a csv file on a network share as a schedule task.
So far I have been able to fetch all the required data using BigFix Excel connector and save it as a CSV file but I am at a dead end with trying to find a way to run this as a scheduled task on a weekly basis which would rename the old file and place the new CSV in the same location.
I am not very familiar at writing a code to use REST or SOAP and would really appreciate if you can help me out with trying to find a simpler way to do accomplish this task.
The export is for ServiceNow to import the data form the CSV file into its CMDB from an FTP share where I am trying to save the CSV file.
The query I ran using the Excel Connector is exporting below mentioned fields:
bes property “Computer Name”,
bes property whose (name of it = “OS” and
(item 0 of it = 2299646071 and item 1 of it = 5 and item 2 of it = 1) of id of it),
bes property “Active Directory Path”,
bes property “Domain/Workgroup - Windows”,
bes property “DNS Name”,
bes property “IP Address”,
bes property “Subnet Address”,
bes property whose (name of it = “User Name” and
(item 0 of it = 2299646071 and item 1 of it = 27 and item 2 of it = 1) of id of it),
bes property whose (name of it = “Computer Type” and
(item 0 of it = 2299646071 and item 1 of it = 147272 and item 2 of it = 5) of id of it),
bes property “Device Type”,
bes property “MAC Addresses - Windows”,
bes property “CPU”,
bes property “Brand String of CPU - Windows”,
bes property whose (name of it = “x64” and
(item 0 of it = 8361 and item 1 of it = 34 and item 2 of it = 4) of id of it),
bes property “RAM”,
bes property “Total Size of System Drive”,
bes property “Free Space on System Drive”,
bes property whose (name of it = “Disk Partitions” and
(item 0 of it = 8361 and item 1 of it = 23 and item 2 of it = 1) of id of it),
bes property “Computer Manufacturer - Windows”,
bes property “Computer Model - Windows”,
bes property “Disk Drives - Windows”,
bes property “IDE/SATA Devices - Windows”,
bes property “Identifying Number - Windows”,
bes property “Network Adapter - Windows”,
bes property “Number of Fixed Drives - Windows”,
bes property “Number of Processors - Windows”,
bes property “Number of Processor Cores - Windows”,
bes property “SCSI Devices - Windows”,
bes property “Connected USB Devices - Windows”,
bes property “Symantec Endpoint Protection Client Version”)
I also checked the BFExtractToCSV utility but was unable to generate a similar query in the correct syntax.
Thanks for your help guys!