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:18 AM
Views: 6
In this example, I'm creating a registry key subfolder that redundantly holds the PowerShell Core version currently installed
  1. New-Item -Path "HKLM:\SOFTWARE\Microsoft\PowerShell 6.0.2" -Force -ItemType "String" -Name "Version" -Value "6.0.2"