I ran a discovery on a handful of nodes that only allowed ICMP. So the Node Caption was updated with this IP Address. I'm working on coverting these nodes over to SNMP and I needed a way to update the Node Caption field with the Node SysName which is from SNMP (and WMI).
The script skips over nodes where the SysName entry is empty or if the SysName already matches the Node Caption.
The script prompts for the hostname/IP of your Main Orion Server and for a username/password of the Orion Web Console.
Hope that helps anyone else!