title: Remove an item from the Environment variable through powershell
body: <p>I don't have a direct access to the Environment Variables on Windows. Therefore I'm trying to remove an item through powershell</p>
  
  <pre><code>Remove-Item -Path Env:Path -Value ($Env:Path + ";C:\Item\To\Be\Removed")
  </code></pre>
  
  <p>However getting the error below</p>
  
  <p><a href="https://i.stack.imgur.com/5jeUe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5jeUe.png" alt="enter image description here"></a></p>