Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Jose Fernando Lopez Fernandez
Added: Jun 30, 2018 2:17 AM
Views: 7
In this example, I'm redundantly adding the PowerShell Core version to the registry key at this same location
  1. New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\PowerShell 6.0.2" -Force -Name "Version" -Value "6.0.2"