Remotely with PowerShell
Back to index pagePowerShell supports working with the registry remotely. JChem for Excel provides a simple script that shows how to enable automation add-in on remote computers by administrators. The script file is in the Admin Guide folder under the JChem for Excel installation folder.
To run this script we need PowerShell installed. The script needs a list of users stored in a file as a parameter and will enable the automation add-in in all installed Excel instances.
.\EnableAutomationAddin.ps1 /RemoteSidList <file>
The file should contain the users in the following form:
<machine-name>\<SID-of-the-user>
For example:
LAB1\S-1-5-21-3842236448-1344586221-320078511-1000
LAB1\S-1-5-21-3842236448-1344586221-320078511-1007
LAB2\S-1-5-21-3842236448-1344586221-320078511-1011
LAB2\S-1-5-21-3842236448-1344586221-320078511-1033
LAB2\S-1-5-21-3842236448-1344586221-320078511-1011
The script will report the result of each user and each Excel instance.
Please note that Remote Registry service needs to be enabled on the remote machines and some extra firewall settings may also be necessary.
Back to index page
Do you have a question? Would you like to learn more? Please browse among the related topics on our support forum or search the website. If you want to suggest modifications or improvements to our documentation email our support directly!
