Browsed by
Month: December 2015

Experimenting with vSphere PowerCLI – vDS and LACP

Experimenting with vSphere PowerCLI – vDS and LACP

This week as the year winds up I was experimenting with vSphere PowerCLI and noticed that when I go to create a Virtual Distributed Switch (VDS) through PowerShell I am able to create it, but it does not support enhanced LACP out of the box. It actually behaves identically to how it would if I created it in the fat client instead of the web client. # Create VDS New-VDSwitch -Name “vtest” -Location “Las Vegas” -LinkDiscoveryProtocol “CDP” -LinkDiscoveryProtocolOperation “Listen” -NumUplinkPorts…

Read More Read More

Get GUID Remotely

Get GUID Remotely

Recently I had to pull the GUID of a server remotely at work, I didn’t quite know how to do this off the top of my head. I found a few websites that suggested the following commands: Get-WmiObject Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID Get-WmiObject Win32_ComputerSystemProduct -ComputerName HOSTNAME | Select-Object -ExpandProperty UUID Both work, but I wanted to make a small powershell script where it would prompt me for the hostname and get it. $hostname = Read-Host ‘What is the hostname’…

Read More Read More