Remotely Create A Registry Key With PowerShell

Something new I learned today is how to remotely create a registry key using remote PowerShell. You can also modify, query, etc.. See TechNet for a reference on the use of the reg command including valid value types, examples and such.

Invoke-Command -ComputerName <server fqdn> -ScriptBlock {reg add <registry path> /v <value name> /t <value type> /d <data in the key>}

Possibly Related Posts:

Posted: July 13th, 2009
Categories: PowerShell
Tags:
Comments: No Comments.












CommentLuv badge