Skip to main content

Initialize Interface API Example for Powershell

Comments

4 comments

  • Connor Woolfolk
    Community Manager

    Hello Richard,

    Unfortunately it doesn't look like we have an example for this specific item on hand, but I was able to speak with a member of our Dev team briefly about them, and they gave me some basic guidance around usage, and this would depend on your use case.

    I believe it would be something along the lines of:

    Calling GetInterfaceByIDRequest, which should return a boolean.

    Then you can call InitializeInterfaceResponse if it's down.

    Finally, you can ShutdownInterfaceRequest to turn one off.


    If you haven't checked our our Powershell API article, you can find it here, just in case it can provide any helpful information: https://support.cerberusftp.com/hc/en-us/sections/360001417940-Cerberus-SOAP-API-with-PowerShell

    0
  • Rick Wills

    thanks... unfortunately that does not help me at all.

    0
  • Connor Woolfolk
    Community Manager

    Hello Richard,

    I do apologize, I will follow up with my Dev team to see if I can't get you more information around this subject. Could you provide a use case for the API calls you are making? Having the extra context would be great.

    0
  • Rick Wills

    We have external listeners that go "offline" for no apparent reason.  I believe it has to do with the networking and how Google GCP handles external access.  I wanted to write a script to issue an initialize command every X time period.  From the limited docs it seems if a initializaiton command is sent and it's already running the command will just fail which would be ok if its running but if not it would bring the interfaces online.

    0

Please sign in to leave a comment.