I agree with you, that could be useful in some cases. Reason for the configuration to be the same right now is to make it easy for people to update the report. Most changes does not require a configuration file upgrade. If they do I make sure to put it here. 🙂
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
This probably means that you are executing the script by pasting it in the same window, or through Powershell ISE. Save it as a ps1 file instead and run it.
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?
The script is only meant to be read-only. For changes it'd have to use a server side scripting language and then it'd be security concerns to worry about. Not ready to go down that road. Yet. 🙂