VMware VS4-STD-C Evaluator Guide - Page 63

before changing the execution policy. Enter - powercli

Page 63 highlights

VMware vSphere 5.0 Evaluation Guide - Volume One From the Windows start menu, type PowerShell. Once the PowerShell program is displayed on the start menu, right-click Windows PowerShell and select Run as administrator. A PowerShell prompt will be started, as follows: Figure 78. Setting Execution Policy It is recommended that you read more about PowerShell's different execution policies to find out more information about these, and ensure that you change this to the correct setting for your organization. Enter get-help about_Execution_Policies at the PowerShell prompt. In this guide, we will change the execution policy to RemoteSigned. From the PowerShell prompt, enter Set-ExecutionPolicy RemoteSigned. Figure 79. Information About Execution Policies You will then receive information about execution policies and a prompt asking you to confirm your action before changing the execution policy. Enter Y at the prompt and press Enter. You will then be returned to the PowerShell prompt with the change being completed. Type Exit and press Enter to leave the PowerShell prompt. You are now ready to install vSphere PowerCLI. TECHNICAL WHITE PAPER / 63

  • 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 / 63
VMware vSphere 5.0 Evaluation Guide –
Volume One
From the Windows start menu, type
PowerShell
. Once the PowerShell program is displayed on the start menu,
right-click Windows PowerShell
and select
Run as administrator
.
A PowerShell prompt will be started, as follows:
Figure 78.
Setting Execution Policy
It is recommended that you read more about PowerShell’s different execution policies to find out more
information about these, and ensure that you change this to the correct setting for your organization. Enter
get-help about_Execution_Policies
at the PowerShell prompt.
In this guide, we will change the execution policy to RemoteSigned.
From the PowerShell prompt, enter
Set-ExecutionPolicy RemoteSigned.
Figure 79
° Information About Execution Policies
You will then receive information about execution policies and a prompt asking you to confirm your action
before changing the execution policy. Enter
Y
at the prompt and
press Enter.
You will then be returned to the PowerShell prompt with the change being completed. Type
Exit
and
press
Enter
to leave the PowerShell prompt.
You are now ready to install vSphere PowerCLI.