Tag Archives: DHCP

PowerCLI with a GUI – Clone a machine, add DHCP Reservations, alter CPUID

In this blog post, I am going to break down a PowerShell code I have created (with help from some colleagues). The functions of this PowerShell code are;

  • Present a GUI form to the end user
    • Connect to a vCenter
    • Select the virtual machine to be cloned
    • Select the datastore the new VM is to be stored on (display DS free space)
    • Select the host for this VM to be created against (display free memory on the host)
    • Set the new VM name
    • Create an IP reservation in both the Production and DR DHCP Scopes

Below are some functional screenshots of the code’s GUI and also a rough flowchart of what I needed to achieve.

You can skip to the end to find the full code.

A little more background on the script

Continue reading PowerCLI with a GUI – Clone a machine, add DHCP Reservations, alter CPUID

How to produce good documentation – Part 3 – Network IP’s & Interfaces

The time is here, lets look at starting to document that network of yours.

Now lets look at the other side of the coin.

Click the above for the templates used in this diagram

SwitchPort Diagrams/Tables

So it’s not all creative visio diagrams, one of the best pieces of documentation I find that I produce is actually a switchport diagram.

Using Excel to diagram out a given number of switches, mapping the interfaces to the hosts or devices in which is connected to them.

Continue reading How to produce good documentation – Part 3 – Network IP’s & Interfaces