Feature

Managing VMware View with View PowerCLI: Chapter 21

New to VMware View is PowerShell and PowerCLI support. VMware’s adoption of Microsoft’s PowerShell has ripped through the VMware Community since its introduction in Vi3. It’s really great that VMware have chosen to adopt and embrace this technology, and PowerShell/CLI usage continues to grow – it’s become the defacto standard for any CLI based activity as new cmdlets are added to the pool on a yearly basis. Remember if you want to use this you need to first install (Windows 7) or enable (Windows 2008 R2) Microsoft PowerShell on your management system:

View PowerCLI - Select Features: Windows PowerShell Integrated Scripting Environment

Then install the vSphere PowerCLI 4.1 extensions. At the time of writing the cmdlets for View are in the form of a snap-in that has be loaded into the PowerCLI environment. These are currently held in:

C:\Program Files\VMware\VMware View\Server\extras\PowerShell

The snap-ins are installed by merely running the .PS1 file called add-snapin.ps1. The running of the PS1 file adds shortcuts to your start menu so when a View PowerCLI session is started the appropriate snap-ins are loaded into the environment.

Windows Start Menu > VMware > View POwerCLI

What follows here is some examples of the View PowerCLI cmdlets. I’m indebted to VMware’s “VMware View Integration Guide” which covers the PowerCLI. You might be interested to know the guide also covers customizing LDAP data in View, and its new integration with Microsoft SCOM.

Want to read more of this guide?

Download the full “Administering VMware View 4.5” Guide (21 Chapters). The full guide contains additional step-by-step instructions and screen shots in each chapter.


This was first published in September 2010

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: