I am new to Powershell - and I am trying to create a script that will check to see if a registry key exists, if it does - change the value, if it does not exist - then create it and set the value. What I have is below - and it does not work (IWhereas I am new, am not surprised)
Open in new window