Skip to content

Aman Dhally's Blog

the life of an IT administrator..

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

Day: December 13, 2011

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

PowerShell

Asking for Credentials

13 December, 20113 August, 2012 Aman Dhally

  PowerTip of the Day, from PowerShell.com: When you write functions that accept credentials as parameters, add a transformation attribute! This way, the user can either submit a credential object (for example, a credential supplied from Get-Credential), or simply a user name as string. The transformation attribute will then convert this string automagically into a… Continue reading Asking for Credentials

PowerShell

How to List Registry Hives

13 December, 20113 August, 2012 Aman Dhally

  PowerTip of the Day, from PowerShell.com: Use the provider name instead of a drive name when you need to get a list of all Registry Hives: Dir Registry:: thanks aman

General · PowerShell

My PowerShell Story: PowerShell and I

13 December, 20113 August, 2012 Aman Dhally

  hi, Thanks to http://www.powershellmagazine.com they just upload my powershell story yesterday. you can read the complete story here:  http://www.powershellmagazine.com/2011/12/12/powershell-and-i/ thanks aman

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.