Powershell / Cisco IOS – Generate a list of commands from a csv list of devices

Generates a .doc of commands to paste into devices.  pulls IP and hostname from csv and structures the commands in a way you can copy/pasta.

Continue reading “Powershell / Cisco IOS – Generate a list of commands from a csv list of devices”

Powershell – Ping a list of IPs and return a list of alive IPs, a list of dead IPs, and a csv of both

Ping a list of IPs and return a list of alive IPs, a list of dead IPs, and a csv of both.

Continue reading “Powershell – Ping a list of IPs and return a list of alive IPs, a list of dead IPs, and a csv of both”

Powershell – Get Drive Letters by Volume Name and Execute RoboCopy

This script starts a transcript, retrieves a source and destination drive letter using the drive’s “volume name” and proceeds with a RoboCopy session. If one of the volumes is not found, the script exits.

Continue reading “Powershell – Get Drive Letters by Volume Name and Execute RoboCopy”

Powershell – Generating a device config from a baseline text file

I like making things easy. 😉   Here’s a simpler one:  Simple Version.

Here’s a method to replace certain strings of text in a text file in order to generate a usable baseline configuration. Great for Cisco, Juniper, Brocade, Aruba, etc.

Continue reading “Powershell – Generating a device config from a baseline text file”