Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Read from Windows Event Logs with Windows PowerShell 2.0?

   Hey, Scripting Guy! I need to be able to use Windows PowerShell 2.0 to read from the Windows event logs. On our network, we have a mixture of Windows 7 and Windows XP desktop clients. Our server farm has everything from Windows Server 2003 up to Windows 2008 R2 Core Edition. Is there one script I can use to allow me to ...

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 10 of the 2010 Scripting Games

 (Note: These solutions were written for Beginner Event 10.)Beginner Event 10 (Windows PowerShell) Jonathan Medd is a Windows PowerShell MVP and co-host of the Get-Scripting podcast. He regularly posts about Windows PowerShell on his blog, http://jonathanmedd.net, and you can tune in to the monthly Windows PowerShell podcast at http...

Expert Solutions: Advanced Event 10 of the 2010 Scripting Games

  (Note: These solutions were written for Advanced Event 10.)Advanced Event 10 (Windows PowerShell) Don Jones http://concentratedtech.com Windows PowerShell MVP Award Recipient Co-Author, Windows PowerShell v2: TFM (3rd Edition) Windows PowerShell Trainer, http://CBTNuggets.com Editor-in-Chief, Realtime Publishers, http://...

Expert Solutions: Beginner Event 9 of the 2010 Scripting Games

 (Note: These solutions were written for Beginner Event 9 of the 2010 Scripting Games.) Beginner Event 9 (Windows PowerShell) Daniele Muscetta’s journey with computers and software started when he began programming on a Commodore 64 at the age of 10. Daniele preferred to write programs on his Commodore 64 ...