Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Write to the Registry with Windows PowerShell 2.0?

  Hey, Scripting Guy! Is it very difficult to use Windows PowerShell 2.0 to write to the Windows registry? We have a mixture of Windows 7, Windows Vista, and Windows XP on our desktop computers. I was thinking that if it is not too tough, I would like to use the registry to help in performing desktop audits. I could place information ...

Expert Solutions: Beginner Event 1 of the 2010 Scripting Games

  (Note: These solutions were written for Beginner Event 1 of the 2010 Scripting Games.)   Beginner Event 1 (Windows PowerShell)   Steven Murawski, Community Director—PowerShellCommunity.org ------------- Reading and writing to the registry is a common task in the Windows world. This challenge can be broken...

2010 Scripting Games: Beginner Event 1–Updating and Creating Registry Keys

  Note: We are no longer accepting entries for this event. See the due dates page for a list of all event due dates. About This Event Event ScenarioThe boss has decided you need to check computers on the network. After the check has been completed, a registry key needs to be updated with the date and time of the check. You ...