Tal
 New Member Posts:43

 |
| 28 Jun 2010 05:30 AM |
|
Hello everyone , i would like to know how to add a Reg Key to a Remote Client trough PS.
i add it with New-ItemProperty but i don't know how to add it remotely
would like to see an example. |
|
|
|
|
PoSherLife
 Basic Member Posts:364

 |
|
cameronove
 Basic Member Posts:332

 |
|
PoSherLife
 Basic Member Posts:364

 |
|
Tal
 New Member Posts:43

 |
| 28 Jun 2010 10:54 PM |
|
Thanks but didn't quit understood what to do with the scripts, i don't want to customize all the script , isn't there any other way to do so?
|
|
|
|
|
Shay Levy PowerShell MVP, Admin
 Veteran Member Posts:1362

 |
| 29 Jun 2010 12:22 AM |
|
Tal, here's an example using my remote registry module. You need to have PowerShell 2.0 installed. Download the module and load it. The following will create a new string value named 'NewString' on 3 computers ( pc1,pc2,pc3 ) under HKLM:\SOFTWARE\Microsoft. The -Force switch is used to suppress confirmations and the -Ping switch is used to ping the computers first. Set-RegString -Hive LocalMachine -ComputerName pc1,pc2,pc3 -Key SOFTWARE\Microsoft -Value NewString -Data foo -Force -Ping |
|
Shay Levy Windows PowerShell MVP
http://PowerShay.com
PowerShell Community Toolbar
Twitter: @ShayLevy |
|
|
Tal
 New Member Posts:43

 |
| 29 Jun 2010 04:20 AM |
|
From where can i download the module? i lokked for it |
|
|
|
|
Shay Levy PowerShell MVP, Admin
 Veteran Member Posts:1362

 |
|