You can’t directly. you need to snapshot the EO and export it. which can be done by the blcli.
Hmm, a bit skimpy on details - I need something similar. I need to report:
- system name, IP, MAC, OS-related-goodies, other_custom_info
The 'other custom info' seems to only be visible in the GUI as an 'extended attribute' when I review 'devices' - how to get to this info? (Some process/command put it there so, in my mind, I should be able to retrieve it as well.)
When I use the 'list' commands for 'provisiion' devices this 'extended data' is not present.
I explored several 'namespaces' & 'commands' but can't seem to find a simple 'get-me-this-data' command...
BTW - I'm using a combo of 'nnet' + 'nover' + a bit of merging to get most of what I need since MAC addresses are not included/reported by 'listAllServerProperties'...
are you talking about Properties that appear under the "Extended" section under properties for an object ?
The section were every custom property appears ?
For a Server you can just query those with the default "blcli Server getFullyResolvedPropertyValue".
Like for one of our custom props:
[BLPROD] @ /c/NSH % blcli Server getFullyResolvedPropertyValue sv123456 SYS_comment
Reporting Platform Windows 2003
For a Device it is not that obvious as i think you need to use blcli_execute with unreleased commands.
Here is an example:
# Get the Device ID
blcli_execute ProvisionDevice getPMDeviceIdByMacAddress "MAC"
#Get the Property for the device from the object that we have in memory
blcli_execute ProvDevice getFullyResolvedValueAsString "PROPNAME"
Hope this helps.
This sounds like it's getting close to what I need - I will give it a whirl.
We have 'devices' with what appear to be 'custom properties' - is there a simple way to loop through all devices and pull the info?
dale - are you trying to get server property information for a DEVICE, or for a SERVER object ? can you show a screenshot of what info you are trying to pull ?
what are you trying to do w/ this info?
do you have bdssa installed? is using reporting not an option ?
Bill - looking at what appears to be DEVICE info; I can get custom SERVER properities using listAllProperities - don't see a similar option for DEVICES.
- I can 'browse' the info when looking at DEVICES.
- The 'fields' show up under: Configuration --> Property Dictionary View --> Property-Class-Navigation/Devices
- the propery 'names' are company branded
blcli_execute ProvisionDevice getPMDeviceIdByMacAddress '00-0C-29-0F-D3-34'
blcli_execute ProvDevice getPropertyValueAsString DATE_CREATED
Thanks Bill, this seems to be working...