Category Archives: PowerShell

Resetting a lab environment

I’m trying to get some automation working around my VCAP Test Track environment. The latest addition is the ability for the user to reset the environment from the inside, which requires some hoops since they don’t have rights outside of … Continue reading →

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

VCAP Test Track (lab on a lap)

A couple of weeks before VMworld 2012 I built a portable VCAP5-DCA replica on my Lenovo W510 laptop that included all of the major components of the DCA environment.  It matched the IP scheme, naming convention, password pattern, available utilities … Continue reading →

Posted in Certification, Cloud, Computing, PowerShell, Virtualization, VMware | Tagged , , , , | 16 Comments

Escaping quotes (powershell-style)

I need to search some xml files for a certain setting – but the files were remote to me but were not shared.  So I dove into invoke-command (remote powershell was enabled) but quickly figured out my desired string was … Continue reading →

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

Leveraging the vSphere API cookbook in PowerCLI

If you have ever run into an issue with PowerCLI where you can find the information you need in the API guide but not a cmdlet to report the info?  Here is one walk through of how I got my … Continue reading →

Posted in Computing, PowerShell, Scripting, Virtualization, VMware | 4 Comments

PSExec command-line parameters

PSEXEC is  nifty free utility from Microsoft/Sysinternals that is part of a whole suite of free tools (“Sysinternals Suite“).  While there are a ton of great tools there, I wanted to point out an issue for psexec that I just figured … Continue reading →

Posted in Computing, Microsoft, PowerShell, Scripting | Tagged | 1 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

PowerCLI and View

See also: Part 2 in the series So I’ve had need to code some checks for VMware View lately – which means among other things I need to dust off my seriously rusty scripting skills and learn what resources are … Continue reading →

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

vCloud Director: Regaining your Edge (Redeploying from a command line)

In my demo vCD environment I often find that after a power-up the Edge Gateways don’t function properly. Options like “Upgrade to Full Configuration” don’t exist, traffic doesn’t flow or rules can’t be changed. A redeploy always fixed it so … Continue reading →

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