Hp ProLiant DL980 G7 Server User Manual Page 76

  • Download
  • Add to my manuals
  • Print
  • Page
    / 82
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 75
NOTE: Before running any PowerShell script, you should set the PowerShell execution policy to
either RemoteSigned or Unrestricted, as follows:
1. Set the systemwide PowerShell execution policy (32-bit)
a. Select StartAll ProgramsAccessories (or Administrative Tools in Windows Server 2012
or later)Windows PowerShellWindows PowerShell ISE (x86)
b. In the bottom pane of the PowerShell ISE (x86) window, enter either of the following
commands:
set-executionpolicy RemoteSigned
The RemoteSigned policy requires that downloaded scripts be signed by a trusted
publisher before they can be run.
set-executionpolicy Unrestricted
The Unrestricted policy removes all restrictions; all Windows PowerShell scripts
can be run.
To run the command, press Enter on your keyboard.
2. Set the systemwide PowerShell execution policy (64-bit)
a. Select StartAll ProgramsAccessories (or Administrative Tools in Windows Server 2012
or later)Windows PowerShellWindows PowerShell ISE
b. In the bottom pane of the PowerShell ISE window, enter either of the following commands:
set-executionpolicy RemoteSigned
The RemoteSigned policy requires that downloaded scripts be signed by a trusted
publisher before they can be run.
set-executionpolicy Unrestricted
The Unrestricted policy removes all restrictions; all Windows PowerShell scripts
can be run.
To run the command, press Enter on your keyboard.
Should you want to restore your original execution policy, use the following command:
set-executionpolicy
After you finish using the HP ESO PowerShell script, HP strongly recommends setting security back
to the default by using the set-executionpolicy Restricted command. This prevents
unsecured scripts from being run and restricts use of Windows PowerShell to interactive mode.
NOTE: HP recommends using PowerShell ISE (64-bit) to edit and run PowerShell scripts generated
by HP ESO. PowerShell ISE (32-bit) may not have access to some registry settings. If you are logged
into the OS through a domain account, run ISE as an Administrator. (Right click Windows
PowerShell; in the menu, click Run ISE as Administrator.
Using the PowerShell script to apply HP ESO optimization recommendations for all
settable parameters
The PowerShell Script downloaded from the HP ESO Summary page contains recommended values
for settable parameters. The recommended values are gathered from all the optimization pages.
You can edit and run the PowerShell script in the PowerShell ISE on the current local client. Figure 67
(page 77) shows an example of such a PowerShell script.
76 Using HP ESO
Page view 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 82

Comments to this Manuals

No comments