Would be nice if PS code would use separate bigipreportconfig.xml per version, something like that:
If Bigipreport-4.5.0.ps1 is launched it's using bigipreportconfig-4.5.0.xml If Bigipreport-4.5.5.ps1 is launched it's using bigipreportconfig-4.5.5.xml
Or maybe, if it's easier Bigipreport-X.X.X.ps1 could be executed with argument specifying name and location of bigipreportconfig.xml.
I don't know if the reason I got below error was that I first generated report (using default.html) using Bigipreport-4.5.0.ps1 and then Bigipreport-4.5.5.ps1 (other.html):
2017-08-03 12:53:10 Pre execution checks was successful
Add-Type : Cannot add type. The type name 'VirtualServer' already exists.
At C:\scripts\bigipreport-4.5.5.ps1:513 char:1
+ Add-Type @'
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (VirtualServer:String) [Add-Type], Exception
+ FullyQualifiedErrorId : TYPE_ALREADY_EXISTS,Microsoft.PowerShell.Commands.AddTypeCommand
or it's just because 4.5.5 is beta?
Other nice thing to have would be possibility to check given VS, select another device and execute copy to create exactly the same config on another BIG-IP - don't know if easy or at all possible with data that is stored in report?
Piotr