Create/Set/modify registry key via powershell script
The following script does a check if a key exists, if an entry exists and if it has a predefined value, otherwise it updates the registry key with the desired value. Adapt the variables: $regPath …