title: Local computer Policies via PowerShell
body: <p>I am working on a C++ code that uses OpenLocalMachineGPO to add a registry key to set a theme for all its users. OpenLocalMachineGPO opens the default GPO for the computer. </p>
  
  <p>I intend to do the same via Powershell cmdlets, but I cant understand the way to get to the default GPO for the machine as in the above C++ code. Get-GPO seems to work only on Group Policies over domains or sites. I couldn't find a way to set the Local Computer Policy, which is shown by the Local Group Policy Editor.</p>