In PowerShell what cmdlet would you use to update a registry value
- Set-ItemValue
- Set-RegistryValue
- Set-ItemProperty
- Update-RegistryKey
EXPLANATION
Modifying the value of a registry property value
To modify the value of a registry property value requires using the Set-PropertyItem cmdlet.Only the steps…
Modifying the value of a registry property value:
- Use the Push-Location cmdlet to save the current working location.
- Use the Set-Location cmdlet to change to the appropriate registry drive.
- Use the Set-ItemProperty cmdlet to assign a new value to the registry property.
- Use the Pop-Location cmdlet to return to the original working location.
0 comments:
Post a Comment