title: How to install GroupPolicy module for PowerShell?
body: <p>I just started writing scripts in PowerShell.<br>
  The desired script is supposed to create a local GroupPolicyObject (GPO) which will be specified afterwards. Research showed that it could be done with the <code>New-GPO</code> command within the GroupPolicy module for PowerShell. I tried to install the mentioned module but unfortunately nothing I found worked. May I ask for help?<br></p>
  
  <p>I am using Windows 7 and Powershell 5.1.14409.1005<br></p>
  
  <p>Error I receive when running example from Microsoft page (<code>New-GPO -Name TestGPO -Comment "This is a test GPO."</code>):
  <img src="https://i.stack.imgur.com/giiAm.png" alt="Error when running (New-GPO -Name TestGPO -Comment &quot;This is a test GPO.&quot;) - example provided by Microsoft"></p>