1 Reply Latest reply on Aug 21, 2017 4:29 PM by tdanner

    Check the status of an IP address using Powershell API

    ad123

      Hello everyone,

       

      I'd like to check if an IP is in use using the 'swissnapin', and I can't find a command to do it. Could someone please point me in the right direction?

       

      Something like:

       

      Invoke-SwisVerb $swis IPAM.SubnetManagement GetIPStatus  @('192.168.1.1')

       

      and then have it return 'available', 'used', 'reserved'.

       

      The above does not work. It's an example of what I'd like to do.