VMware VS4-STD-C Evaluator Guide - Page 69

Getting Started with vSphere PowerCLI, Connecting to a vSphere Host or vCenter - net

Page 69 highlights

VMware vSphere 5.0 Evaluation Guide - Volume One Getting Started with vSphere PowerCLI On your start menu in the VMware -> VMware vSphere PowerCLI folder, you will now have access to the following items: • vSphere PowerCLI (32-Bit) • vSphere PowerCLI • vSphere PowerCLI Administration Guide • vSphere PowerCLI Cmdlets Reference • vSphere SDK for .NET API Reference • vSphere SDK for .NET Dev Guide It is highly recommended that you read the vSphere PowerCLI Administration Guide, because this will provide the fundamentals of both vSphere PowerCLI and PowerShell, and will aid in the learning process when starting out with vSphere PowerCLI. This guide will show examples of vSphere PowerCLI and PowerShell code, but will not provide all knowledge to learn these languages in full. For further help and support, visit the vSphere PowerCLI community site at http://vmware.com/go/PowerCLI. Connecting to a vSphere Host or vCenter With vSphere PowerCLI, you have the ability, as with the vSphere Client, to connect to both vSphere hosts and vCenter servers. This document will show how to manage a vCenter Server and all connected entities, but it should be noted that the same cmdlets could be used to manage a single vSphere host. Figure 90. Launching PowerShell Session TECHNICAL WHITE PAPER / 69

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106

TECHNICAL WHITE PAPER / 69
VMware vSphere 5.0 Evaluation Guide –
Volume One
Getting Started with vSphere PowerCLI
On your start menu in the VMware -> VMware vSphere PowerCLI folder, you will now have access to the
following items:
• vSphere PowerCLI (32-Bit)
• vSphere PowerCLI
• vSphere PowerCLI Administration Guide
• vSphere PowerCLI Cmdlets Reference
• vSphere SDK for .NET API Reference
• vSphere SDK for .NET Dev Guide
It is highly recommended that you read the
vSphere PowerCLI Administration Guide
, because this will provide
the fundamentals of both vSphere PowerCLI and PowerShell, and will aid in the learning process when starting
out with vSphere PowerCLI. This guide will show examples of vSphere PowerCLI and PowerShell code, but will
not provide all knowledge to learn these languages in full. For further help and support, visit the vSphere
PowerCLI community site at
http://vmware.com/go/PowerCLI
.
Connecting to a vSphere Host or vCenter
With vSphere PowerCLI, you have the ability, as with the vSphere Client, to connect to both vSphere hosts and
vCenter servers. This document will show how to manage a vCenter Server and all connected entities, but it
should be noted that the same cmdlets could be used to manage a single vSphere host.
Figure 90.
Launching PowerShell Session