Posts Tagged enterprise-it

Concatenate

Have you ever needed to add two lines of text together, over and over, like a list of server names and the fully qualified domain name? This can have an endless number of uses for the lazy admin. I never liked writing scripts that read a list of variables from a text file. Its much faster and easier to use a bunch of one-liners in a batch file.

An easy way to do this is with Excel. Take two strings and cat, or concatenate, them together. Here is a diagram so that the Network Engineers reading this can keep up:

     +         =

Using Excel, it would look like this:

This simple method can be used incredibly complex commands, and are an ideal springboard for Powershell. Not only is this a powerful tool for automating deployments- you can keep the spreadsheet and label it “Documentation”.

I will be following up with some examples of how to automate VMware and VDI deployments using this method.

Advertisements

,

2 Comments

Virtually Everywhere

Harsha Hosur - VCDX #135.

Notes from MWhite

Sharing of ideas and knowledge to empower people through easier and smarter technology use

Yellow Bricks

vSphere, View, PowerCli, VMUGs and Certifications

Welcome to vSphere-land!

vSphere, View, PowerCli, VMUGs and Certifications

vTexan

vSphere, View, PowerCli, VMUGs and Certifications

vTesseract

vSphere, View, PowerCli, VMUGs and Certifications

vSoup

All about virtualisation from vSoup to vNuts!

vReference

vSphere, View, PowerCli, VMUGs and Certifications

vNugglets

vSphere, View, PowerCli, VMUGs and Certifications

VMwareTips

vSphere, View, PowerCli, VMUGs and Certifications

VMware End-User Computing Blog

vSphere, View, PowerCli, VMUGs and Certifications

VMware Training and Certification

vSphere, View, PowerCli, VMUGs and Certifications

vSphere, View, PowerCli, VMUGs and Certifications

VMware Hands-On Lab (HOL) Blog

vSphere, View, PowerCli, VMUGs and Certifications

VMware Communities : All Content - Dallas Area VMware User Group

vSphere, View, PowerCli, VMUGs and Certifications

TechGenix

vSphere, View, PowerCli, VMUGs and Certifications

vmetc.com

vSphere, View, PowerCli, VMUGs and Certifications

VMpros

vSphere, View, PowerCli, VMUGs and Certifications

Virtualization Team

VMware ESX/ESXi - ESX server - Virtualization - vCloud Director, tutorials, how-to, video

Virtual Nomad

vSphere, View, PowerCli, VMUGs and Certifications