BigFix Excel Connector

(imported comment written by Lee Wei)

MrFixit

Can you add ‘BES Custom Sites’ if you haven’t done that already?

thanks,
-Gary

Gary,

I have a new version to support BES Custom Sites.

I will send you a copy for testing.

Lee Wei

(imported comment written by Lee Wei)

Shembop

How about the ability to save queries (keep in mind I haven’t really seen Web Reports 8.0)
How about Computer Groups
Simplified Date format for sorting in Excel, and easy date filtering

Philip,

I have added the ability to save the queries, and also export them.

Computer Groups filter is added only for BES Computer.

All the date/time are now reformatted so that they can be sorted in Excel.

I will send you a copy for testing. Thanks for the ideas.

Lee Wei

(imported comment written by Lee Wei)

mbp911

Need Help: I have a need to report on members of custom sites. Previous administrators added machines to some custom sites that should have been. Example: We have a custom site for specific machines and when reviewing applicability to Custom fixlets published in this site, I am finding the applicability numbers being skewed. I need to identify those machines in order to target them for action.

I noticed in previous posts that this feature was discussed, but not implimented?

Mike,

I have included Custom Sites in version 3.1. It needs additional testing, and I will send you one to see if fits the bill.

Lee Wei

(imported comment written by Lee Wei)

sawozny

{quote:title=Shembop}How about the ability to save queries (keep in mind I haven’t really seen Web Reports 8.0)
How about Computer Groups
Simplified Date format for sorting in Excel, and easy date filtering

I’d like to second the proposal for Computer Groups. Not as much as an attribute to download (although that would be nice, I can see how it could be problematic as a computer can be part of multiple groups) but particularly as a filter criteria. It’s hard to get data that makes sense to the business without it.

Also, can you wildcard in the filter? If so, what is the character? * doesn’t seem to work.

And, while I’m asking for the moon, is there a way to do group and count? For example, in the 7.2 web interface you could get a list of all the installed applications and the count of how many computers each applicaiton was installed on (which you could also filter by group). I can’t seem to find a way to do it in the new 8.0 web interface, but this excel plug-in does almost the same thing. To get back to where I was in 7.2 I’d need computer group filtering and the ability to summarize counts of a particular return value. I can probably do some of this manually in Excel, but since you’re taking requests, I thought I’d ask. :slight_smile:

All in all, I LOVE this tool. SO much faster than digging through the web interface for ad-hoc reports.{quote}

Scott,

There are no wildcards in relevance query, but you can use “contains” to get around some statements. There are wildcards for files and folders to be precise.

Counting makes sense for one property. This is interesting and I will think about adding this next time.

Per my previous post, I have added Computer Group filtering for BES Computer, not the other object at the moment.

Lee Wei

(imported comment written by jstarkey91)

Sorry…its been awhile since i could try my install again, but now i get this in my log while installing:

Add-in Express Registrator Log File: 10/31/2010 00:06:31

Installation directory: C:\BigFix Excel Connector\

Registrator version: 6.1.3044.0

00:06:31 Starting the add-in registration process.

00:06:31 Loading mscoree.dll

00:06:31 Success.

00:06:31 .NET Framework installation directory:

00:06:31 The latest version of .NET Framework: ‘v4.0.30319’

00:06:31 Loading CLR: v4.0.30319.

00:06:31 Calling CLRCreateInstance method.

00:06:31 Success.

00:06:31 Calling GetRuntime method.

00:06:31 Success.

00:06:31 Calling GetInterface method.

00:06:31 Calling GetInterface method for the CorRuntimeHost interface.

00:06:31 Success.

00:06:31 Starting CLR…

00:06:31 Success.

00:06:31 The CLR v4.0.30319 has been initialized successfully.

00:06:31 Creating a new domain setup.

00:06:31 Success.

00:06:31 Getting the add-in directory.

00:06:31 Success. The directory is ‘C:\BigFix Excel Connector’

00:06:31 The configuration file is ‘(null)’

00:06:31 The ‘shadow copy’ is disabled.

00:06:31 Creating a new application domain.

00:06:32 Success.

00:06:32 Getting the base directory for the domain.

00:06:32 Success. The directory is ‘C:\BigFix Excel Connector’.

00:06:32 Searching for the Add-in Express core library.

00:06:32 Success. The ‘AddinExpress.MSO.2005.dll’ file is found.

00:06:32 Creating an instance of the ‘AddinExpress.Deployment.ADXRegistrator’ class.

00:06:32 Assembly identity is ‘AddinExpress.MSO.2005’.

00:06:32 Success.

00:06:32 Unwrapping the instance of the ‘AddinExpress.Deployment.ADXRegistrator’ class.

00:06:32 Success.

00:06:32 Calling the managed registration procedure.

00:06:32 Managed Error:

Date and Time: 10/31/2010 12:06:32 AM

Machine Name: Computername

IP Address: fe80::d473:a819:29a3:d7e2%11

Current User: domain_name\JStarkey

Application Domain: C:\BigFix Excel Connector\

Assembly Codebase: file:///C:/BigFix Excel Connector/AddinExpress.MSO.2005.DLL

Assembly Full Name: AddinExpress.MSO.2005, Version=6.1.3044.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965

Assembly Version: 6.1.3044.2005

Assembly Build Date: 5/2/2008 2:06:50 AM

Exception Source: AddinExpress.MSO.2005

Exception Type: System.ArgumentException

Exception Message: Wrong command line.

Exception Target Site: RegisterAssembly

  • Stack Trace ----

AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)

AddinExpress.MSO.2005.DLL: N 0079 (0x4F) IL

00:06:32 The add-in registration process is completed with HRESULT = -2147467259.

(imported comment written by Lee Wei)

Hello JStarky,

Are you still using Excel 2010 x64?

I did not compile the add-in for 64-bit Excel, so I do not know if this is supposed to work.

I will work with you to investigate this when I am able next week or so.

Lee Wei

(imported comment written by jstarkey91)

Yes, i’m still trying to use Excel 2010 64bit. I can wait for a supported version, just figured it would be way easier to use then the web reporting.

thanks!

(imported comment written by murtasma91)

Love to the tool it’s very powerful and great for generating charts and data to show upper manamgement.

I’ve noticed an issue when using the BES Computers inspector. If you add the subscribed sites attribute to your result list it dosen’t appear to list any custom sties the computer is subscribed to. We use custom sites to deterimine which department owns a particular workstation so breaking up reports based on department can be difficult with out this attriubte.

I also think something that would be beneficial for the community would be the ability to save a query you have created using the excel connector so you can go back in the future and run the same report with out having to select the attriubtes and filter all over agian.

(imported comment written by Lee Wei)

Murtasma,

Regarding the subscribed sites property, I believe this issue is fixed in version 8.0 of BigFix. In 7.2.5, it seems to omit any custom sites.

This is the BigFix Server and not the Excel Connector via the SOAP API.

If you use this statement, you can see that for a given computer, the custom sites are missing. I have verified that version 8.0 fixes the issue.

values of results from (bes computers whose (name of it = 
"TRADERS")) of bes properties whose (name of it = 
"Subscribed Sites")

I have a new version that can save reports. I will send you a version for testing before I release it.

Lee Wei

(imported comment written by murtasma91)

We are running BigFix version 8 but it still dosen’t seem to return any custom sites for the Subscribed Sites Property. The updated connector for the saved queries appears to be working great however.

(imported comment written by Lee Wei)

Private messaged with murtasma. He misread the output, it does contain the subscription for custom sites.

(imported comment written by Lee Wei)

All,

I have included some often requested features in this new version 3.1

  • Open and save reports
  • Import and export reports
  • Refresh the report without going through the Wizard
  • Show the generated relevance with indentations
  • A single BES Property report is generated with a pie chart

Installation

  • Uninstall any previous versions
  • Download the latest

http://leewei.com/bigfix/prod/excelconnector/BigFix_Excel_Connector_Setup_v31.zip

The best way to install is to right-click on setup.exe and “Run as administrator”

Watch some clips

I have recorded these clips to show some features.

A simple walk through of selecting some Computer Properties (47 secs)

http://leewei.com/bigfix/prod/excelconnector/BESComputers/BESComputers.html

The new feature to extract single Retrieve Property summary (34 secs)

BigFix Excel Connector (34 secs)

The new features to Import, Open and Save reports

BigFix Excel Connector (1 min 28 secs)

Show the generated relevance in nicely formatted output with indentations, without going through a hidden worksheet

BigFix Excel Connector (1 min 21 secs)

(imported comment written by Lee Wei)

I have seen a few instances where people are having problems extracting Computer Properties because there are duplicate names.

http://forum.bigfix.com/viewtopic.php?id=6130

http://forum.bigfix.com/viewtopic.php?id=5789

For example, if you create a Retrieve Property call “OS”, that will work correctly, but there is a potential of conflict against the default “OS”.

So I have fixed the Excel Connector to use explicit IDs.

I have also added special filters to “Free Space on System Drive”, “RAM”, and “Total Size of System Drive” properties so that we can sort them by integer sizes. By default, they are returned as string with the trailing “MB”. This makes it difficult to sort in a meaningful way.

Installation

  • Uninstall any previous versions
  • Download the latest

http://leewei.com/bigfix/prod/excelconnector/BigFix_Excel_Connector_Setup_v32.zip

The best way to install is to right-click on setup.exe and “Run as administrator”

Lee Wei

(imported comment written by Syro91)

I just discovered this tool, and would really like to use it, but I am not able to get it to appear in excel after the install. I have followed the instructions posted here but cannot seem to make this work. I do not see any errors in the install log:

Add-in Express Registrator Log File: 01/17/2011 14:36:10

Installation directory: C:\BFConnector\

Registrator version: 6.1.3044.0

14:36:10 Starting the add-in registration process.

14:36:10 Loading mscoree.dll

14:36:10 Success.

14:36:10 .NET Framework installation directory:

14:36:10 The latest version of .NET Framework: ‘v4.0.30319’

14:36:10 Loading CLR: v4.0.30319.

14:36:10 Calling CLRCreateInstance method.

14:36:10 Success.

14:36:10 Calling GetRuntime method.

14:36:10 Success.

14:36:10 Calling GetInterface method.

14:36:10 Calling GetInterface method for the CorRuntimeHost interface.

14:36:10 Success.

14:36:10 Starting CLR…

14:36:10 Success.

14:36:10 The CLR v4.0.30319 has been initialized successfully.

14:36:10 Creating a new domain setup.

14:36:10 Success.

14:36:10 Getting the add-in directory.

14:36:10 Success. The directory is ‘C:\BFConnector’

14:36:10 The configuration file is ‘(null)’

14:36:10 The ‘shadow copy’ is disabled.

14:36:10 Creating a new application domain.

14:36:10 Success.

14:36:10 Getting the base directory for the domain.

14:36:10 Success. The directory is ‘C:\BFConnector’.

14:36:10 Searching for the Add-in Express core library.

14:36:10 Success. The ‘AddinExpress.MSO.2005.dll’ file is found.

14:36:10 Creating an instance of the ‘AddinExpress.Deployment.ADXRegistrator’ class.

14:36:10 Assembly identity is ‘AddinExpress.MSO.2005’.

14:36:10 Success.

14:36:10 Unwrapping the instance of the ‘AddinExpress.Deployment.ADXRegistrator’ class.

14:36:10 Success.

14:36:10 Calling the managed registration procedure.

14:36:12 Success.

14:36:12 The add-in registration process is completed with HRESULT = 0.

Still I get no add in. I’m running windows 7 x64, Office 2010 32bit. I tried running on a 32bit XP virtual with office 2003 installed, also no luck. I feel like there is just something simple I’m missing, but I’m not seeing it. Any advice?

(imported comment written by Lee Wei)

Hi Syro,

Did you try right-click on the setup.exe and “Run as administrator”?

Lee Wei

(imported comment written by Syro91)

Yes. Same result.

(imported comment written by Syro91)

Ok, I just wiped everything and tried again. I got no log during the installation. The connector does not show up in Excel. I manually ran the adxregistrator.exe which generates the following:

Add-in Express Registrator Log File: 01/18/2011 09:01:55

Installation directory: C:\Program Files (x86)\BigFix Enterprise\BigFix Excel Connector 3.2\

Registrator version: 6.1.3044.0

09:01:55 Starting the add-in registration process.

09:01:55 Loading mscoree.dll

09:01:55 Success.

09:01:55 .NET Framework installation directory:

09:01:55 The latest version of .NET Framework: ‘v4.0.30319’

09:01:55 Loading CLR: v4.0.30319.

09:01:55 Calling CLRCreateInstance method.

09:01:55 Success.

09:01:55 Calling GetRuntime method.

09:01:55 Success.

09:01:55 Calling GetInterface method.

09:01:55 Calling GetInterface method for the CorRuntimeHost interface.

09:01:55 Success.

09:01:55 Starting CLR…

09:01:55 Success.

09:01:55 The CLR v4.0.30319 has been initialized successfully.

09:01:55 Creating a new domain setup.

09:01:55 Success.

09:01:55 Getting the add-in directory.

09:01:55 Success. The directory is ‘C:\Program Files (x86)\BigFix Enterprise\BigFix Excel Connector 3.2’

09:01:55 The configuration file is ‘(null)’

09:01:55 The ‘shadow copy’ is disabled.

09:01:55 Creating a new application domain.

09:01:55 Success.

09:01:55 Getting the base directory for the domain.

09:01:55 Success. The directory is ‘C:\Program Files (x86)\BigFix Enterprise\BigFix Excel Connector 3.2’.

09:01:55 Searching for the Add-in Express core library.

09:01:55 Success. The ‘AddinExpress.MSO.2005.dll’ file is found.

09:01:55 Creating an instance of the ‘AddinExpress.Deployment.ADXRegistrator’ class.

09:01:55 Assembly identity is ‘AddinExpress.MSO.2005’.

09:01:55 Success.

09:01:55 Unwrapping the instance of the ‘AddinExpress.Deployment.ADXRegistrator’ class.

09:01:55 Success.

09:01:55 Calling the managed registration procedure.

09:01:55 Managed Error:

Date and Time: 1/18/2011 9:01:55 AM

Machine Name: PC6032751

IP Address: fe80::e97b:876a:4c65:ef47%11

Current User: AD\u80258

Application Domain: C:\Program Files (x86)\BigFix Enterprise\BigFix Excel Connector 3.2\

Assembly Codebase: file:///C:/Program Files (x86)/BigFix Enterprise/BigFix Excel Connector 3.2/AddinExpress.MSO.2005.DLL

Assembly Full Name: AddinExpress.MSO.2005, Version=6.1.3044.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965

Assembly Version: 6.1.3044.2005

Assembly Build Date: 5/2/2008 1:06:50 AM

Exception Source: AddinExpress.MSO.2005

Exception Type: System.ArgumentException

Exception Message: Wrong command line.

Exception Target Site: RegisterAssembly

  • Stack Trace ----

AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)

AddinExpress.MSO.2005.DLL: N 0079 (0x4F) IL

09:01:55 The add-in registration process is completed with HRESULT = -2147467259.

(same problem jstarkey posted in October). I’m on a 64bit windows 7 box, UAC is disabled. I found a post on a similar topic on another website advising regregistering atl.dll. Didn’t think it would work, but I ran it any way. I was right, it didn’t seem to do anything.

About the only other thing I can think of is that VisualStudio 2010 is on-box. This shouldn’t cause any problems, but it’s another vairable, i suppose.

(imported comment written by Syro91)

And I have found a (the?) solution.

More info. For giggles, I tried to manually add the com plugin from excel by going to addins-> manage com->add…->c:<install point>\adxloader.dll, i received an error indicating excel wa already open. I could not dismiss the error, and had to end excel from task manager. On a hunch, I opened Word, followed the same process, and received no error. Once I had added the dll in word, I launched excel, and the connector was installed and operational.

(imported comment written by MattBoyd)

3 questions:

Is there any way to modify the relevance code generated by the query wizard and then regenerate the excel spreadsheet? I tried the session relevance editor, but it doesn’t appear to automatically split rows on the “$x$” delimiter like the query wizard does.

We have a few properties that use the same name (we have a lot of console operators, so conflicts sometimes happen). This creates unexpected results because the query wizard appears to use "bes property " and that will only return the first property of the same name. Is there any possibility that this could be reworked to go by property ID instead?

Not to beat a dead horse, but this is another program that bug #38567 is affecting (http://forum.bigfix.com/viewtopic.php?pid=24212#p24212). Any news on when this bug will be fixed? It’s affecting a query that I wanted to generate for Installed Applications. I wanted to use Excel to make it easier to do sorting and grouping.

I’ve been using this for a while, and it’s definitely a killer app… it’s often more useful than Web Reports.

(imported comment written by Lee Wei)

Syro,

I sent you a private message a few days ago but did not hear back.

I was hoping to help you troubleshoot the install, but glad you got it working.

Lee Wei