Knowledge Base Article

EV Server Registry Key Best Practice Checks (Powershell script)

This may be useful for EV health checks or just to determine whether you have your regkeys setup as per Best Practice;
http://support.veritas.com/docs/326236


BZ

PS; Rename the file with a .ps1 extension (i.e. EVBP.ps1)

Edit:  Updated the script as follows (Thank you PJ for your input!)

  1. Outputs a file called c:\EVBestPracticeRegKeys_<servername>.txt.  Alternatively you can specify a path to the log file (i.e. ./EVBP.ps1 c:\temp)
  2. Updated the Regcheck function to check for existence of Reg path and report on certain conditions (test-path)
  3. Added Set-ExecutionPolicy Remotesigned to avoid initial run error
  4. Shortened the filename to EVBP.ps1
  5. Now checks the Wow6432Node Key for values on x64bit too

Note:  In order to run this script, go to a PowerShell command prompt, navigate to the directory where you saved the .ps1 file, type ./EVBP.ps1

Published 16 years ago
Version 1.0

8 Comments