ServiceNow automation to check IP

anbu2
Kilo Explorer

Hi All, Today i had a question from one of my windows support team person with respect to getting IP details when a request is placed, Please find below the detailed requirement if somebody has an idea about how to take it forward please comment your views. Windows Server support team get the request to reserve an IP to a system, So what they do is find the free IP and describe in ticket that x.x.x.x is reserved for your request. The number of such requests is huge and so they want to automate

1) Fetch the ticket number , State, Description, requester   which matches "IP Request" in short description.

2) Login to remote server and run nslookup to get the free ip

3) Paste the resulted IP in ticket notes

4) Close the ticket

5)Email the ticket details with all details.

Regards, Tamil

Message was edited by: Anbu Tamilan

6 REPLIES 6

dwolf
Giga Expert

This is how I will solve this:


1. Create a script include that will go to the midserver and run a powershell script to do the lookup


2. On the catalog form, do an active lookup to check if the IP is free or not using the script include and let the requester know right away


3. If the IP is free, they can submit their request to the Server team for whatever reason


4. If the IP is unavailable, throw a warning to the requester


anbu2
Kilo Explorer

Thanks Darlene. I'm not familiar with how to run a powershell script in a mid server using script include but this sounds to be a good option i will try this in my instance. If you could help me with some links to get an idea how to implement this it will be really helpful.


anbu2
Kilo Explorer

Darlene, Just one doubt using Orchestration for this requirement can make the work simple ? or what ever you have mentioned above is the only solution that can be applied. Please clarify. Thanks.