Home / Articles / Scripts

Scripts

Script to Ping a list of IPs

Posting by Noynim IT Solutions on March 27, 2013

There are times when you need to ping a list of IPs to determine which ones are up and which ones are down.  Below is a powershell script that will do just that: #Below is a script used to identify if hosts are up or down # The following line read a plain list of [...]

Resolve a list of IPs to their DNS names

Posting by Noynim IT Solutions on

Below is a powershell script that will resolve a list of IPs to their respective DNS names:   # The following line read a plain list of IPs from files. $listofIPs = Get-Content “C:\IPList.txt” #create a blank array for the resolved names $ResultList = @() #resolve each of these addresses foreach ($ip in $listofIPs) { [...]

Php Script to Append String Into Text File

Posting by Noynim IT Solutions on May 21, 2008

Use a simple PHP script to append string into text file:

Query Multiple IPs in DNS

Posting by Noynim IT Solutions on April 28, 2008

Here is a simple bash script to query multiple IPs and get the DNS names:

Expect Script for Cisco Devices

Posting by Noynim IT Solutions on

Expect script for Cisco devices.

Spacing Issues in Bash

Posting by Noynim IT Solutions on March 19, 2008

If you are having whitespace issues in bash, review the information provided here