Top Posts
- Moving VMs from ESX to Workstation
- Moving a vmnic from vDS to vSS at the host commandline
- "300 out of 500" : What is a passing score?
- NetApp port descriptions and what to do with e0M, SP and ACP
- vCloud Director and guest customization
- PSExec command-line parameters
- VCAP6-DCV Deploy Practice
- Find orphaned.vmx files (VMware Powershell)
- VCAP6-DCV Deploy Sample Question 2
- NSX, BGP, ECMP quick hits
Subscribe to Blog via Email
Feedback
Category Cloud
Wordpress
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 migration, NSX, powercli, vSphere 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 DCA, DCV, powercli, vcap, VCIX 5 Comments
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 powercli, powershell, vcd, vcloud director 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 Horizon, powercli, powershell, vdi, View 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 mac, powercli, powershell 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
VMWorld 2011 Day2
KeyNote (wow, any ThinApp app to any device via HTML5?) – Performance Metrics – Memory optimization – Lunch PowerCLI – HandsOnLabs – Partner Event – HandOnLabs
vSphere5: My favorite feature
Get-AlarmDefinition | New-AlarmAction -Email -To ‘jandrews@inflexionllc.com’ -CC @(‘test1@inflexionllc.com’, ‘test2@inflexionllc.com.com’) -Body ‘Test body’ -Subject ‘Test subject’ Drop that line into a PowerCLI windows and poof all alarms will be updated to send an email when they go off (change warning (yellow) … Continue reading
Posted in Computing, PowerShell, Scripting, Virtualization, VMware Tagged ESXi, powercli, powershell, vmware, vSphere 5 2 Comments
Enabling vMotion and converting a portgroup to a VMKernel port
I was asked a question the other day about “enabling vMotion.” The answer actually has 2-parts. Technically there is a parameter you need to have set in order for vMotion to be enabled on your host. “Migrate.Enabled” is an advanced … Continue reading
Posted in Cloud, Computing, Virtualization, VMware Tagged command line, ESXi, powercli, troubleshoot, vmware Leave a comment
PowerCLI poster
Download a PDF printable at 34″ x 22″ of everything about PowerCLI you need at your fingertips here: http://communities.vmware.com/thread/302399
Posted in Computing, PowerShell, Scripting, Virtualization, VMware Tagged poster, powercli, script, vmware Leave a comment