We can easily get first available IP with
Invoke-SwisVerb $swis IPAM.SubnetManagement GetFirstAvailableIp @("199.10.1.0", "24")
And also easily set it to "Used" with
Invoke-SwisVerb $swis IPAM.SubnetManagement ChangeIPStatus @("199.10.1.1", "Used")
So why can't we easily set the hostname on the record as well?
Is there a way to achieve this natively with the PowerShell module?