Skip to content

Aman Dhally's Blog

the life of an IT administrator..

  • Home
  • 100Days Of Self Improvement
  • PowerShell Blog
  • Poetry
  • About Me
  • General

Tag: Set-Item

PowerShell

Writing Registry Key Default Values

13 December, 20113 August, 2012 Aman Dhally

  PowerTip of the Day, from PowerShell.com:   If you need to set the default value for a Registry Key, you can  use either of these approaches: Set-ItemProperty -Path HKCU:\Software\Somekey -Name ‘(Default)’ -Value MyValue Or, you can just do this: Set-Item -Path HKCU:\Software\Somekey -Value MyValue   thanks

Disclaimer!

Please note all of these views and opinions are my own

Subscribe Podcast

Click Here to subscribe to the PodCast
Proudly powered by WordPress · Theme: Button by Automattic.