Information needed - Upgradation (281 Views)
Reply
Advisor
Bobby_HP
Posts: 16
Registered: ‎07-04-2012
Message 1 of 4 (281 Views)
Accepted Solution

Information needed - Upgradation

[ Edited ]

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..!!

 

 

Valued Contributor
Dimiter Todorov
Posts: 109
Registered: ‎03-02-2010
Message 2 of 4 (269 Views)

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

Advisor
Bobby_HP
Posts: 16
Registered: ‎07-04-2012
Message 3 of 4 (223 Views)

Re: HP SA issue

[ Edited ]

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

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

Valued Contributor
Dimiter Todorov
Posts: 109
Registered: ‎03-02-2010
Message 4 of 4 (218 Views)

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

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.