PowerCLI Stop-VApp -Force 1

Jonathan Frappier Virtxpert So day to day I help maintain a bunch of vApps that run, but are also disposable.  When we are finished with them I just want them gone.  I am working on a PowerCLI script to help automate this process and saw the Stop-VApp cmdlet.  Comparing that […]

Providence VMUG PowerCLI Presentation @PVDVMUG #MyVMUG

Jonathan Frappier Virtxpert Here is the slide deck from my talk on PowerCLI at the Providence VMUG.  Thanks to Artur and Sebastian for letting me use your script as a reference. Key takeaways If your KPI for automation projects is saving time, qualify that with “It will save time eventually.” […]

Windows PowerShell Desired State Configuration for Linux

Jonathan Frappier Virtxpert I say now for Linux, but I missed the boat on Windows PowerShell Desired State Configuration all together!  Given the flexibility of PowerShell, it should be no surprise that you could write your own configuration management scrips but Microsoft has taken some of that work of your […]

PowerCLI – Add cluster hosts to existing virtual distributed switch

Jonathan Frappier Virtxpert I started writing this script for mostly greenfield deployments to add all hosts in a cluster to a virtual distributed switch, but it could also be used when adding a new group of servers to vCenter or a cluster.  I haven’t added logic to check if the […]

PowerCLI – Update vSwitch with additional uplinks, LB Policy and active/standby

Jonathan Frappier Virtxpert Trying to configure some vSwitches via PowerCLI, as I am trying to learn I am looking a the command references and walking through each one by one, and found one that needs a bit of stringing together.  So in this scenario I have the basics setup on […]