Forum Discussion
Cole_McDonald
6 years agoProfessor
I'm working on a similar project (system names came in as IP addresses as we didn't have all of our reverse lookups populated in DNS. I'm a powershell person, so I have to construct my JSON manually. While I was working on my Failover Cluster Grouping script, I used this JSON structure for a PUT procedure to create a new custom property:
{
"type" : "custom",
"name" : "Failover.Cluster.GUID",
"value" : "$ClusterID"
}
What type should be used to access the system properties?
Would the method be PUT or PATCH? I can try them both, but it would save a couple of minutes (and I'm lazy).
Specifically, I need to alter name, system.displayname, and system.hostname (I'm filling with the value of ##system.sysname## which came in correctly during the initial discovery.
Related Content
- 6 months ago
- 9 months ago
- 5 months ago
- 10 months ago