Category Archives: Scripting

Test Track: Now with scoring

I’ve added five scoring scripts so far to the VCAP Test Track VCAP5-DCA prep lab, including all the ones needed for the Set 1 questions.  Hopefully I’ll have the rest available shortly. After you have completed an item, and a … Continue reading →

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

Pulling ESXi files and directory listings using WinSCP

I found myself, as I sometimes do, needing an automated process to grab semi-random information off of some ESXi hosts.  However, I would not know some of the server information before the script ran. Which causes some problems for WinSCP, … Continue reading →

Posted in PowerShell, Scripting, Security, VMware | Tagged , | 3 Comments

Scoring the VCAP Test Track

I mentioned last time discussing Test Track that on my “to-do” list was enabling Test Track participants to grade themselves.  Frank B on Twitter suggested publicizing the scoring scripts so here’s the first one. Now all I need is the … Continue reading →

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

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

Building a VCAP live exam lab environment

Sections: Opening, Live exam environment summary, Live exam docs list, Scripts To prepare for one of the three VMware live lab exams (VCAP5-DCA, VCAP-DTA, VCAP-CIA) you may want to build your own test environment.  This accomplishes a variety of goals; … Continue reading →

Posted in Certification, Cloud, Computing, Scripting, Virtualization, VMware | Tagged , , , , , | 23 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 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