andrewchown
andrewchown
Hi, thanks for the reply. Still getting an error: Command: new-PhpIpamSubnet -params @{subnet='10.10.10.0';mask='24';description='test';sectionId='1';vlanId='0';vrfId='0';masterSubnetId='170';nameserverId='0';showName='0';DNSrecursive='0';DNSrecords='0';allowRequests='0';scanAgent='0';pingSubnet='0';discoverSubnet='0';isFolder='0';isFull='0';threshold='0';location='0';device='0';tag='0';resolveDNS='0'}  Invoke-PhpIpamExecute : {"code":400,"success":0,"message":"Request is not valid","time":0.001} At C:\TMP\PSPHPIPAM\Functions\Subnets.ps1:191 char:14 + ... if($(Invoke-PhpIpamExecute -method post -controller subnets...
Hi thanks again for the help. I've tried the below command and many variations on it but still no luck. new-PhpIpamSubnet -params @{masterSubnetId=170;description="test";subnet="10.10.10.0";mask=24;sectionId=1;location=4} Do you have a way to find...
Hey there, any chance you could send me a an example piece of code to write a subnet? I haven't succeeded yet. Andy On Tue, 16 Apr 2019, 10:46 yoke88,...