title: Check if a Registry Path Exists in Remote Machine
body: <p>I have used Power Shell to check if a path exists using this command . <strong>powershell test-path "HKCU:\Software\Microsoft\Windows"</strong> now how can the same be extended to remote machine. What is the syntax if i want to test a registry path in Remote machine, i tried  <strong>powershell test-path "\\machinename\HKCU:\Software\Microsoft\Windows"</strong> and its not working. Suggest some way to test it. </p>