# Defines three registry key paths in an array
The outcome of the script below disables registry values related to Transport Layer Security (TLS 1.0). If not, it creates the keys and then creates new registry values inside of those keys.
If so, it then updates the registry values inside. The example script below defines a list of registry keys, checks to see if each key exists. Set-ItemProperty – Changes registry key values.New-ItemProperty – Creates new registry values.Let’s cover some examples of how each of these PowerShell cmdlets works. To make changes to the registry, listed below are three different PowerShell commands. The Windows Registry is a sensitive area of the Windows operating system, so make sure to back up the registry before making changes.
#Sapien powershell studio path script location how to#
Related: How to Edit the Windows Registry Completely Offline PowerShell has many built-in commands to help you create, update and modify registry keys and values. The Windows Registry is composed of values and keys, where keys being the containers for the values.
Creating and Updating Registry Keys and Values.