ServiceNow automation to check IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 12:36 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 02:15 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 02:46 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2017 02:49 AM
Here are some great resources to reference:
How can I run a Powershell Script over the MID Server
PowerShell Utility V2 - execute Powershell scripts directly from your instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 08:08 AM
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.