SlideShare a Scribd company logo
© 2009 VMware Inc. All rights reserved
PowerCLI & Onyx
Vladimir Goranov, Manager R&D, Resource & Policy Management
Yavor Boychev, Manager R&D, VIM Platform and Solutions QA
2
Agenda
VMware vSphereТМ PowerCLI
Tips and tricks
VMware Project Onyx
Q&A
3
Disclaimer
This session may contain product features that are
currently under development.
This session/overview of the new technology represents
no commitment from VMware to deliver these features in
any generally available product.
Features are subject to change, and must not be included in
contracts, purchase orders, or sales agreements of any kind.
Technical feasibility and market demand will affect final delivery.
Pricing and packaging for any new technologies or features
discussed or presented have not been determined.
“THESE FEATURES ARE REPRESENTATIVE OF FEATURE AREAS UNDER
DEVELOPMENT. FEATURE COMMITMENTS ARE SUBJECT TO CHANGE, AND
MUST NOT BE INCLUDED IN CONTRACTS, PURCHASE ORDERS, OR SALES
AGREEMENTS OF ANY KIND. TECHNICAL FEASIBILITY AND MARKET
DEMAND WILL AFFECT FINAL.”
4
VMware vSphereТМ PowerCLI
Windows PowerShell interface for managing vSphereTM
5
VMware vSphereТМ PowerCLI
PowerCLI will save you a ton of time.
PowerCLI is the easiest way to automate.
PowerCLI will help you identify problems
before they become crises.
PowerCLI can automate anything you care
about in your virtual environment.
PowerCLI lets you make large scale changes
in a consistent and auditable way.
6
VMware vSphereТМ PowerCLI
Official community
http://vmware.com/go/powershell
• Registered users - 1 382
• Discussions - 2 481
• Documents - 48
Official blog
http://blogs.vmware.com/vipowershell/
• Blog posts - 125
• Comments - 177
Extensions project
http://vitoolkitextensions.codeplex.com/
• More than 100 functions
• Page views - 118 577
• Visits - 15 261
• Downloads - 3 638
7
VMware vSphereТМ PowerCLI
Blog ecosystem
• http://blogs.vmware.com/vipowershell
• http://www.van-lieshout.com/powercli
• http://get-admin.com/blog
• http://ict-freak.nl
• http://www.lucd.info
• http://www.ntpro.nl/blog
• http://poshoholic.com
• http://professionalvmware.com
8
VMware vSphereТМ PowerCLI
Software ecosystem
• PowerGUI - http://powergui.org
• PowerShell Plus - http://www.idera.com
• PowerWF for VMware - http://powerwf.com
• VI PowerScripter - http://www.icomasoft.com
• vEcoShell -
http://vcommunity.vizioncore.com/administration/vecoshell/default.aspx
9
VMware vSphereТМ PowerCLI
Books
…and more coming
10
Resources
Developer Support
• Dedicated support for your organization when building solutions using
vSphere APIs, PowerCLI, vSphere Web Services SDKs and many more
VMware SDKs
• http://vmware.com/go/sdksupport
PowerCLI Training
• 2 day instructor led training, 40% lecture, 60% lab
• http://vmware.com/go/vsphereautomation
VMware Developer Community
• SDK Downloads, Documentation, Sample Code, Forums, Blogs
• http://developer.vmware.com
Technology Alliance Partner (TAP) Program
• Updated partner benefits
• http://www.vmware.com/partners/alliances/programs/
11
VMware vSphereТМ PowerCLI
Large and Small customers around the world in different
industry areas
• Education
• Energy
• Finance
• Government
• Health Care
• Manufacturing
• Retail
• Transportation
Roadmap and solutions exposure
12
Tips and Tricks
The art of being efficient
13
It’s a fact: PowerCLI does cover the entire vSphereAPI !
PowerCLI introduces over 225 cmdlets
and 170 automation objects
•Designed to be fast and easy to use
•vSphere API has close to 500 operations and over 2000 objects
.Net toolkit expose the entire vSphereAPI
•Client side .Net library distributed with PowerCLI
•Could be used in .Net applications and Powershell scripts
•Powershell interface – Get-View cmdlet
Get started with .Net toolkit
14
Retrieving views in PowerCLI
Get-View – the entry point to the .Net toolkit
View – static copy of a server side managed object
15
Retrieving views in PowerCLI – performance impact
# Retrieve views for several vms filtered by PowerState
Get-VM | Where {$_.PowerState -eq "PoweredOn"} | Get-View
VS
Get-View -ViewType "VirtualMachine" `
-Filter @{"Runtime.PowerState" = "PoweredOn"} √
16
# Interested only in few of the view properties?
Get-View -ViewType “VirtualMachine”
VS
Get-View -ViewType “VirtualMachine” `
-Property “Name” , “Runtime.PowerState” √
Increase performance when retrieving view objects
WOW !
Specifying property parameter is ~2000% faster on 100 vms
17
MoRef - Managed Object Reference
Most API method invocations require MoRef as a parameter
MoRefs made easier in PowerCLI 4.1 !
# Retrieve MoRef from the view object
$vm = Get-VM “MyVm”
$vmView = $vm | Get-View
$_this = Get-View -Id ‘ScheduledTaskManager’
$_this.CreateScheduledTask($vmView.MoRef, $spec)
# Using object’s Id where MoRef is needed
$vm = Get-VM “MyVm”
$_this = Get-View -Id ‘ScheduledTaskManager’
$_this.CreateScheduledTask($vm.Id, $spec)
18
Increase your scripts performance by reducing OBN calls
Object By Name selection (OBN)
Start-VM "PsDemo"
Start-VM -VM (Get-VM -Name "PsDemo")
19
Object By Name selection (OBN)
Start-VM "PsDemo"
...
Update-Tools "PsDemo"
...
New-Snapshot -Name "UpdatedTools" -VM "PsDemo"
...
Stop-VM "PsDemo"
Increase your scripts performance by reducing OBN calls
20
Object By Name selection (OBN)
Start-VM -VM (Get-VM -Name "PsDemo")
...
Update-Tools -VM (Get-VM -Name "PsDemo")
...
New-Snapshot -Name "UpdatedTools" -VM `
(Get-VM -Name "PsDemo")
...
Stop-VM (Get-VM -Name "PsDemo")
Increase your scripts performance by reducing OBN calls
21
Object By Name selection (OBN)
$psDemo = Get-VM -Name "PsDemo"
Start-VM $psDemo
...
Update-Tools -VM $psDemo
...
New-Snapshot -Name "UpdatedTools" -VM $psDemo
...
Stop-VM $psDemo
Increase your scripts performance by reducing OBN calls
22
VMware Project Onyx
What is happening behind the covers
23
What is Project Onyx?
Serves as a proxy between vSphere Client and vCenter Server
Monitors the network communication and translates it into a reusable
Powershell code
vSphere Client vCenter ServerOnyx
24
Onyx history
VMWorld 2009 San Francisco - Onyx announced as a prototype
November 2009 – Onyx available for download as Technology preview on
blogs.vmware.com
January 2010 – Official launch of Onyx community forum:
vmware.com/go/onyx
Vmworld 2010 San Francisco Onyx 2.0 released
• C# 2.0 and raw SOAP messaging code generation
• Connection usability enhancements
• Configurable obfuscation of methods with sensitive data
25
Demo scenario
a
Create Scheduled
Task
26
Demo scenario
a
Modify code
PowerCLI
27
Demo scenario
Execute script
a
Scheduled Tasks created
28
Q&A
Its your time

More Related Content

What's hot

Vsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guideVsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guide
Sree Harsha Boyapati
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
thephuck
 
Veeam Backup & Replication Tips and Tricks
Veeam Backup & Replication Tips and TricksVeeam Backup & Replication Tips and Tricks
Veeam Backup & Replication Tips and Tricks
Veeam Software
 
Veeam backup and_replication_whats_new_in_v7
Veeam backup and_replication_whats_new_in_v7Veeam backup and_replication_whats_new_in_v7
Veeam backup and_replication_whats_new_in_v7
Cheer Chain Enterprise Co., Ltd.
 
IBM PowerVC Introduction and Configuration
IBM PowerVC Introduction and ConfigurationIBM PowerVC Introduction and Configuration
IBM PowerVC Introduction and Configuration
IBM India Smarter Computing
 
Veeam suite v8
Veeam suite v8 Veeam suite v8
Veeam suite v8
Marketing Team
 
What’s new in Veeam Availability Suite v9
What’s new in Veeam Availability Suite v9What’s new in Veeam Availability Suite v9
What’s new in Veeam Availability Suite v9
Digicomp Academy AG
 
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery ManagerVMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
VMworld
 
Veeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSysVeeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSys
Marketing Team
 
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld
 
Veean Backup & Replication
Veean Backup & ReplicationVeean Backup & Replication
Veean Backup & Replication
Arnaud PAIN
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
Dan Brinkmann
 
Veeam back up and replication presentation
Veeam back up and replication presentation Veeam back up and replication presentation
Veeam back up and replication presentation
BlueChipICT
 
VMware HA deep Dive
VMware HA deep DiveVMware HA deep Dive
VMware HA deep Dive
Eric Sloof
 
Hyper-V: Best Practices
Hyper-V: Best PracticesHyper-V: Best Practices
Hyper-V: Best Practices
Tomica Kaniski
 
Veeam Backup and Replication: Overview
Veeam  Backup and Replication: OverviewVeeam  Backup and Replication: Overview
Veeam Backup and Replication: Overview
Dudley Smith
 
What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0
Eric Sloof
 
VMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere ReplicationVMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere Replication
VMworld
 
Nashville VMUG Keynote April 8 2015 - vSphere 6
Nashville VMUG Keynote April 8 2015 - vSphere 6Nashville VMUG Keynote April 8 2015 - vSphere 6
Nashville VMUG Keynote April 8 2015 - vSphere 6
Adam Eckerle
 
Veeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General OverviewVeeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General Overview
Veeam Software
 

What's hot (20)

Vsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guideVsphere esxi-vcenter-server-55-troubleshooting-guide
Vsphere esxi-vcenter-server-55-troubleshooting-guide
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
 
Veeam Backup & Replication Tips and Tricks
Veeam Backup & Replication Tips and TricksVeeam Backup & Replication Tips and Tricks
Veeam Backup & Replication Tips and Tricks
 
Veeam backup and_replication_whats_new_in_v7
Veeam backup and_replication_whats_new_in_v7Veeam backup and_replication_whats_new_in_v7
Veeam backup and_replication_whats_new_in_v7
 
IBM PowerVC Introduction and Configuration
IBM PowerVC Introduction and ConfigurationIBM PowerVC Introduction and Configuration
IBM PowerVC Introduction and Configuration
 
Veeam suite v8
Veeam suite v8 Veeam suite v8
Veeam suite v8
 
What’s new in Veeam Availability Suite v9
What’s new in Veeam Availability Suite v9What’s new in Veeam Availability Suite v9
What’s new in Veeam Availability Suite v9
 
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery ManagerVMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
 
Veeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSysVeeam - Digital Transformation event 29 feb - EuroSys
Veeam - Digital Transformation event 29 feb - EuroSys
 
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
VMworld 2013: Part 2: How to Build a Self-Healing Data Center with vCenter Or...
 
Veean Backup & Replication
Veean Backup & ReplicationVeean Backup & Replication
Veean Backup & Replication
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
 
Veeam back up and replication presentation
Veeam back up and replication presentation Veeam back up and replication presentation
Veeam back up and replication presentation
 
VMware HA deep Dive
VMware HA deep DiveVMware HA deep Dive
VMware HA deep Dive
 
Hyper-V: Best Practices
Hyper-V: Best PracticesHyper-V: Best Practices
Hyper-V: Best Practices
 
Veeam Backup and Replication: Overview
Veeam  Backup and Replication: OverviewVeeam  Backup and Replication: Overview
Veeam Backup and Replication: Overview
 
What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0What’s New in VMware vCenter Site Recovery Manager v5.0
What’s New in VMware vCenter Site Recovery Manager v5.0
 
VMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere ReplicationVMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere Replication
 
Nashville VMUG Keynote April 8 2015 - vSphere 6
Nashville VMUG Keynote April 8 2015 - vSphere 6Nashville VMUG Keynote April 8 2015 - vSphere 6
Nashville VMUG Keynote April 8 2015 - vSphere 6
 
Veeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General OverviewVeeam Backup & Replication v8 for VMware — General Overview
Veeam Backup & Replication v8 for VMware — General Overview
 

Similar to PowerCLI & Onyx

VMware vFabric - Webinar with CIO Magazine
VMware vFabric - Webinar with CIO MagazineVMware vFabric - Webinar with CIO Magazine
VMware vFabric - Webinar with CIO Magazine
Al Sargent
 
V mware v sphere 5 fundamentals services kit
V mware v sphere 5 fundamentals services kitV mware v sphere 5 fundamentals services kit
V mware v sphere 5 fundamentals services kit
solarisyougood
 
vRealize Operation 7.5 What's new
vRealize Operation 7.5 What's newvRealize Operation 7.5 What's new
vRealize Operation 7.5 What's new
Kiss Tibor
 
Managing VMware with PowerShell - VMworld 2008
Managing VMware with PowerShell - VMworld 2008Managing VMware with PowerShell - VMworld 2008
Managing VMware with PowerShell - VMworld 2008
Carter Shanklin
 
VMware Certified Professional 5 - Data Center Virtualization Delta Exam
VMware Certified Professional 5 - Data Center Virtualization Delta ExamVMware Certified Professional 5 - Data Center Virtualization Delta Exam
VMware Certified Professional 5 - Data Center Virtualization Delta Exam
Archana Parameshwari
 
Comm vault Simpana e a nuvem AWS
Comm vault Simpana e a nuvem AWSComm vault Simpana e a nuvem AWS
Comm vault Simpana e a nuvem AWS
Amazon Web Services LATAM
 
VMWARE Professionals - Intro and Scale
VMWARE Professionals -  Intro and ScaleVMWARE Professionals -  Intro and Scale
VMWARE Professionals - Intro and Scale
Paulo Freitas
 
St. Louis VMUG Meeting - 09292015
St. Louis VMUG Meeting - 09292015St. Louis VMUG Meeting - 09292015
St. Louis VMUG Meeting - 09292015
Jonathan Stewart
 
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld
 
VMworld 2013: Go to Market with the VMware Solution Exchange
VMworld 2013: Go to Market with the VMware Solution Exchange VMworld 2013: Go to Market with the VMware Solution Exchange
VMworld 2013: Go to Market with the VMware Solution Exchange
VMworld
 
Managing Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShellManaging Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShell
guesta849bc8b
 
V mware v realize automation 6.2 knowledge transfer kit
V mware v realize  automation 6.2 knowledge transfer kitV mware v realize  automation 6.2 knowledge transfer kit
V mware v realize automation 6.2 knowledge transfer kit
solarisyougood
 
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld
 
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
VMworld
 
Presentation v cloud architecture toolkit overview
Presentation   v cloud architecture toolkit overviewPresentation   v cloud architecture toolkit overview
Presentation v cloud architecture toolkit overview
solarisyourep
 
Tudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware CloudTudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware Cloud
ITSpark Community
 
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best ChoiceVMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld
 
vmware-learning-paths.pdf
vmware-learning-paths.pdfvmware-learning-paths.pdf
vmware-learning-paths.pdf
GnanaKumarBitra1
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
Saquib Suhail
 
Presentation building your cloud with v mware
Presentation   building your cloud with v mwarePresentation   building your cloud with v mware
Presentation building your cloud with v mware
solarisyourep
 

Similar to PowerCLI & Onyx (20)

VMware vFabric - Webinar with CIO Magazine
VMware vFabric - Webinar with CIO MagazineVMware vFabric - Webinar with CIO Magazine
VMware vFabric - Webinar with CIO Magazine
 
V mware v sphere 5 fundamentals services kit
V mware v sphere 5 fundamentals services kitV mware v sphere 5 fundamentals services kit
V mware v sphere 5 fundamentals services kit
 
vRealize Operation 7.5 What's new
vRealize Operation 7.5 What's newvRealize Operation 7.5 What's new
vRealize Operation 7.5 What's new
 
Managing VMware with PowerShell - VMworld 2008
Managing VMware with PowerShell - VMworld 2008Managing VMware with PowerShell - VMworld 2008
Managing VMware with PowerShell - VMworld 2008
 
VMware Certified Professional 5 - Data Center Virtualization Delta Exam
VMware Certified Professional 5 - Data Center Virtualization Delta ExamVMware Certified Professional 5 - Data Center Virtualization Delta Exam
VMware Certified Professional 5 - Data Center Virtualization Delta Exam
 
Comm vault Simpana e a nuvem AWS
Comm vault Simpana e a nuvem AWSComm vault Simpana e a nuvem AWS
Comm vault Simpana e a nuvem AWS
 
VMWARE Professionals - Intro and Scale
VMWARE Professionals -  Intro and ScaleVMWARE Professionals -  Intro and Scale
VMWARE Professionals - Intro and Scale
 
St. Louis VMUG Meeting - 09292015
St. Louis VMUG Meeting - 09292015St. Louis VMUG Meeting - 09292015
St. Louis VMUG Meeting - 09292015
 
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
 
VMworld 2013: Go to Market with the VMware Solution Exchange
VMworld 2013: Go to Market with the VMware Solution Exchange VMworld 2013: Go to Market with the VMware Solution Exchange
VMworld 2013: Go to Market with the VMware Solution Exchange
 
Managing Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShellManaging Virtual Infrastructures With PowerShell
Managing Virtual Infrastructures With PowerShell
 
V mware v realize automation 6.2 knowledge transfer kit
V mware v realize  automation 6.2 knowledge transfer kitV mware v realize  automation 6.2 knowledge transfer kit
V mware v realize automation 6.2 knowledge transfer kit
 
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
VMworld 2013: PowerCLI What’s New? Administrating with the CLI Was Never Easier
 
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
VMworld Europe 2014: Taking Reporting and Command Line Automation to the Next...
 
Presentation v cloud architecture toolkit overview
Presentation   v cloud architecture toolkit overviewPresentation   v cloud architecture toolkit overview
Presentation v cloud architecture toolkit overview
 
Tudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware CloudTudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware Cloud
 
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best ChoiceVMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
VMworld 2013: Virtualization Rookie or Pro: Why vSphere is Your Best Choice
 
vmware-learning-paths.pdf
vmware-learning-paths.pdfvmware-learning-paths.pdf
vmware-learning-paths.pdf
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Presentation building your cloud with v mware
Presentation   building your cloud with v mwarePresentation   building your cloud with v mware
Presentation building your cloud with v mware
 

Recently uploaded

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 

Recently uploaded (20)

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 

PowerCLI & Onyx

  • 1. © 2009 VMware Inc. All rights reserved PowerCLI & Onyx Vladimir Goranov, Manager R&D, Resource & Policy Management Yavor Boychev, Manager R&D, VIM Platform and Solutions QA
  • 2. 2 Agenda VMware vSphereТМ PowerCLI Tips and tricks VMware Project Onyx Q&A
  • 3. 3 Disclaimer This session may contain product features that are currently under development. This session/overview of the new technology represents no commitment from VMware to deliver these features in any generally available product. Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. Technical feasibility and market demand will affect final delivery. Pricing and packaging for any new technologies or features discussed or presented have not been determined. “THESE FEATURES ARE REPRESENTATIVE OF FEATURE AREAS UNDER DEVELOPMENT. FEATURE COMMITMENTS ARE SUBJECT TO CHANGE, AND MUST NOT BE INCLUDED IN CONTRACTS, PURCHASE ORDERS, OR SALES AGREEMENTS OF ANY KIND. TECHNICAL FEASIBILITY AND MARKET DEMAND WILL AFFECT FINAL.”
  • 4. 4 VMware vSphereТМ PowerCLI Windows PowerShell interface for managing vSphereTM
  • 5. 5 VMware vSphereТМ PowerCLI PowerCLI will save you a ton of time. PowerCLI is the easiest way to automate. PowerCLI will help you identify problems before they become crises. PowerCLI can automate anything you care about in your virtual environment. PowerCLI lets you make large scale changes in a consistent and auditable way.
  • 6. 6 VMware vSphereТМ PowerCLI Official community http://vmware.com/go/powershell • Registered users - 1 382 • Discussions - 2 481 • Documents - 48 Official blog http://blogs.vmware.com/vipowershell/ • Blog posts - 125 • Comments - 177 Extensions project http://vitoolkitextensions.codeplex.com/ • More than 100 functions • Page views - 118 577 • Visits - 15 261 • Downloads - 3 638
  • 7. 7 VMware vSphereТМ PowerCLI Blog ecosystem • http://blogs.vmware.com/vipowershell • http://www.van-lieshout.com/powercli • http://get-admin.com/blog • http://ict-freak.nl • http://www.lucd.info • http://www.ntpro.nl/blog • http://poshoholic.com • http://professionalvmware.com
  • 8. 8 VMware vSphereТМ PowerCLI Software ecosystem • PowerGUI - http://powergui.org • PowerShell Plus - http://www.idera.com • PowerWF for VMware - http://powerwf.com • VI PowerScripter - http://www.icomasoft.com • vEcoShell - http://vcommunity.vizioncore.com/administration/vecoshell/default.aspx
  • 10. 10 Resources Developer Support • Dedicated support for your organization when building solutions using vSphere APIs, PowerCLI, vSphere Web Services SDKs and many more VMware SDKs • http://vmware.com/go/sdksupport PowerCLI Training • 2 day instructor led training, 40% lecture, 60% lab • http://vmware.com/go/vsphereautomation VMware Developer Community • SDK Downloads, Documentation, Sample Code, Forums, Blogs • http://developer.vmware.com Technology Alliance Partner (TAP) Program • Updated partner benefits • http://www.vmware.com/partners/alliances/programs/
  • 11. 11 VMware vSphereТМ PowerCLI Large and Small customers around the world in different industry areas • Education • Energy • Finance • Government • Health Care • Manufacturing • Retail • Transportation Roadmap and solutions exposure
  • 12. 12 Tips and Tricks The art of being efficient
  • 13. 13 It’s a fact: PowerCLI does cover the entire vSphereAPI ! PowerCLI introduces over 225 cmdlets and 170 automation objects •Designed to be fast and easy to use •vSphere API has close to 500 operations and over 2000 objects .Net toolkit expose the entire vSphereAPI •Client side .Net library distributed with PowerCLI •Could be used in .Net applications and Powershell scripts •Powershell interface – Get-View cmdlet Get started with .Net toolkit
  • 14. 14 Retrieving views in PowerCLI Get-View – the entry point to the .Net toolkit View – static copy of a server side managed object
  • 15. 15 Retrieving views in PowerCLI – performance impact # Retrieve views for several vms filtered by PowerState Get-VM | Where {$_.PowerState -eq "PoweredOn"} | Get-View VS Get-View -ViewType "VirtualMachine" ` -Filter @{"Runtime.PowerState" = "PoweredOn"} √
  • 16. 16 # Interested only in few of the view properties? Get-View -ViewType “VirtualMachine” VS Get-View -ViewType “VirtualMachine” ` -Property “Name” , “Runtime.PowerState” √ Increase performance when retrieving view objects WOW ! Specifying property parameter is ~2000% faster on 100 vms
  • 17. 17 MoRef - Managed Object Reference Most API method invocations require MoRef as a parameter MoRefs made easier in PowerCLI 4.1 ! # Retrieve MoRef from the view object $vm = Get-VM “MyVm” $vmView = $vm | Get-View $_this = Get-View -Id ‘ScheduledTaskManager’ $_this.CreateScheduledTask($vmView.MoRef, $spec) # Using object’s Id where MoRef is needed $vm = Get-VM “MyVm” $_this = Get-View -Id ‘ScheduledTaskManager’ $_this.CreateScheduledTask($vm.Id, $spec)
  • 18. 18 Increase your scripts performance by reducing OBN calls Object By Name selection (OBN) Start-VM "PsDemo" Start-VM -VM (Get-VM -Name "PsDemo")
  • 19. 19 Object By Name selection (OBN) Start-VM "PsDemo" ... Update-Tools "PsDemo" ... New-Snapshot -Name "UpdatedTools" -VM "PsDemo" ... Stop-VM "PsDemo" Increase your scripts performance by reducing OBN calls
  • 20. 20 Object By Name selection (OBN) Start-VM -VM (Get-VM -Name "PsDemo") ... Update-Tools -VM (Get-VM -Name "PsDemo") ... New-Snapshot -Name "UpdatedTools" -VM ` (Get-VM -Name "PsDemo") ... Stop-VM (Get-VM -Name "PsDemo") Increase your scripts performance by reducing OBN calls
  • 21. 21 Object By Name selection (OBN) $psDemo = Get-VM -Name "PsDemo" Start-VM $psDemo ... Update-Tools -VM $psDemo ... New-Snapshot -Name "UpdatedTools" -VM $psDemo ... Stop-VM $psDemo Increase your scripts performance by reducing OBN calls
  • 22. 22 VMware Project Onyx What is happening behind the covers
  • 23. 23 What is Project Onyx? Serves as a proxy between vSphere Client and vCenter Server Monitors the network communication and translates it into a reusable Powershell code vSphere Client vCenter ServerOnyx
  • 24. 24 Onyx history VMWorld 2009 San Francisco - Onyx announced as a prototype November 2009 – Onyx available for download as Technology preview on blogs.vmware.com January 2010 – Official launch of Onyx community forum: vmware.com/go/onyx Vmworld 2010 San Francisco Onyx 2.0 released • C# 2.0 and raw SOAP messaging code generation • Connection usability enhancements • Configurable obfuscation of methods with sensitive data