Tag Archives: powercli

Migrate VMs between portgroups/virtual switches/vSS/vDS

I wrote this to help a client migrate to VXLAN from portgroups. It pulls from a CSV file named c:\scripts\ImportPortGroups.csv which is structured: VLAN,PortGroup,wire 123,dVLAN 123,192.168.123.0/24 and accepts the initial number (VLAN) as a commandline parameter such as: changeportgroups 123 … Continue reading

Posted in NSX, PowerShell, Scripting, Virtualization, VMware | Tagged , , , | Leave a comment

VCAP6-DCV Deploy Sample Question 11

Sample Question Intro HOL: HOL-1706-SDC-3 – Security Concepts in the Software Defined Data Center Prerequisites: None Lab: Module 3 : Automating Password Complexity for ESXi Users. Question 11 The Administration team has requested a PowerCLI script to update all ESXi … Continue reading

Posted in Certification, PowerShell, Scripting, Virtualization, VMware | Tagged , , , , | Leave a comment

vCloud Director – retain IP/Mac

I found myself in need of changing a network setting on a bunch of vCD vApps.  The setting in question (“Retain IP/MAC Resources” in the GUI, “RetainNetInfoAcrossDeployments” from the API) causes the vApp to retain it’s assigned IP (apparently by retaining … Continue reading

Posted in Cloud, Computing, PowerShell, Scripting, Virtualization, VMware | Tagged , , , | Leave a comment

P4C: pCLI for View Parameter seeks cmdlet for long-term relationship

There is a list of “View PowerCLI Cmdlet Parameters” in the View documentation but while they are very useful when you have a cmdlet you are trying to run, the descriptions listed in the doc do not include which cmdlets … Continue reading

Posted in PowerShell, Scripting, Virtualization, VMware | Tagged , , , , | Leave a comment

PowerCLI fling preview

In the 8am PowerCLI session at Vmworld we were treated to PowerCLI on a Mac via the Web Client. The Windows domination of VMware management is almost over! Thanks Alan for the preview!

Posted in Cloud, PowerShell, Virtualization, VMware | Tagged , , | Leave a comment

View and PowerCLI – Part 2

Part 1 So I wanted to do some checks to a VM in my environment, but I realized there were a few issues – was the vm on?  Was the guest responding? Could I make WMI calls? Turned out RPC … Continue reading

Posted in Computing, PowerShell, Virtualization, VMware | Tagged , | Leave a comment

VMWorld 2011 Day2

KeyNote (wow, any ThinApp app to any device via HTML5?) – Performance Metrics – Memory optimization – Lunch PowerCLI – HandsOnLabs – Partner Event – HandOnLabs

Posted in VMware | Tagged , , , | Leave a comment