Well it is time for another pure powershell post. This time I have been working with the registry. Feels like I have been living in different hives no matter what area I have been working in in the last 15 years. It has become rather pleasant if I could say so compared to the old VBSCRIPT days and before that reg.exe and ini files. Fist a little history and a discussion. You have a couple of options in regards to reading and/or editing settings in the registry Use the built-in PS-drives (gives you access to HKLM and HKCU) Codeplex module (search on codeplex or in your favorite searchengine – most used and referenced: http://psrr.codeplex.com/ ) Use the .Net class (normally [microsoft.win32.registrykey]). This gives you access to all the hives in the registry Powershell Desired State Configuration (There is a built-in resource to access the registry) WMI/CIM Which one you pick depends upon your current needs and what you want to accomplish. If you are also in a hu...