Query a remote computer registry key


When you need to do something in PowerShell, there are a lot of way to do that, hereunder a way of querying a remote computer registry key :


This example will retrieve the PowerShell execution policy of the computer “Computer1”.

Here the technical documentation of that class.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.