Solved

Remote Change SRV Comment with Powershell

Posted on 2013-01-02
2
829 Views
Last Modified: 2013-01-07
I would like to be able to change the SRV Comment(Computer Description) on remote computers (Win7 AND XP) using powershell. I have built several scripts, but either it only works locally OR I need to install a plug-in(PSRemoteRegistry) that is only effective againt Windows 7 Machines.
Can anyone help me with the best course of action for this?
Here are some links I have been using to reference:

http://www.computerperformance.co.uk/powershell/powershell-change-computer-description-registry.htm#PowerShell_Task_2:_To_View_Computer_Descriptions_on_Network

http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/16/use-powershell-to-edit-the-registry-on-remote-computers.aspx
0
Comment
Question by:ProUAdmin
2 Comments
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 38739469
1. remote registry needs to be enabled
2. You need to run the script using the proper user account that has permissions to the remote registry
3. PSRemoteRegistry only needs to be loaded on the machine that is running the script and not on the client machines and only if you are using powershell 3.0.

A simple way of testing if you have the right user account permissions is to load regedit on the machine that you want to run the registry change script.. and then connect to the remote machine and see if you can access the key. It needs to be a local administrator account
0
 

Author Comment

by:ProUAdmin
ID: 38751742
Thank you very much, this has helped me a great deal.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question