Server Automation Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Information needed - Upgradation

SOLVED
Go to solution
Highlighted
Bobby_HP
Occasional Contributor

Information needed - Upgradation

we want to upgrade the SA 9x to SA 10...Please post your sugesstion and some related docs.

 

1. what are the steps we need to do before Starting the upgradation part..

2. We need to uninstall and install the SA in Management server..?? or core server?? or any satellite server? please let me know the steps to do in each server.

 

 

Kinldy post your comments on this..!!

 

 

3 REPLIES
Solution

Re: HP SA issue

Put everything below ----- into a vbscript and execute. (Mileage may vary)

 

You could also do this as an audit/remediate. But this is the easiest way.

---------------------------------------------------

 

const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell"
strValueName = "ExecutionPolicy"
strValue = "RemoteSigned"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

Bobby_HP
Occasional Contributor

Re: HP SA issue

Thanks So much....Its works...

Could you please explain what the script does and also explain  it is happened...???

Re: HP SA issue

This script just updates the Registry key that stores the value for the ExecutionPolicy.

 

It is essentially the same as doing Set-ExecutionPolicy locally on each box.

 

D

//Add this to "OnDomLoad" event