Browse by Tags

Tagged Content List
  • Blog Post: Use PowerShell DSC to Configure the Registry

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and Desired State Configuration to configure the registry. Microsoft Scripting Guy, Ed Wilson, is here. I thought I would piggy-back a bit on the excellent posts that Windows PowerShell MVP, Richard Siddaway, wrote...
  • Blog Post: PowerTip: Use PowerShell to Display Registry Keys

    Summary : Learn how to use Windows PowerShell to display registry keys. How can I use Windows PowerShell to provide a list of registry keys that I can filter, instead of using Regedit to search? Use the Get-ItemProperty cmdlet and point it to a specific registry hive. The following command looks...
  • Blog Post: Leverage Registry Key Time Stamps via PowerShell

    Summary : Guest blogger, Rohn Edwards, talks about leveraging registry key time stamps via Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we wrap-up a four-part series from Rohn Edwards, co-founder of the Mississippi PowerShell User Group. If you have not already done so, you...
  • Blog Post: Create a Proxy Function to Display Registry Key Time Stamps

    Summary : Guest blogger, Rohn Edwards, discusses creating a Windows PowerShell proxy function to display registry key time stamps. Microsoft Scripting Guy, Ed Wilson, is here. Happy New Year to you all. Guest blogger, Rohn Edwards, is back with us today to continue his series about retrieving registry...
  • Blog Post: Reusing PowerShell Registry Time Stamp Code

    Summary : Guest blogger, Rohn Edwards, discusses reusing code that obtains the last-modified time stamp from the registry. Microsoft Scripting Guy, Ed Wilson, is here. Today is the last day of the year, but don’t despair. We are here to share some Windows PowerShell goodies with you. Welcome...
  • Blog Post: Use PowerShell to Access Registry Last-Modified Time Stamp

    Summary : Guest blogger, Rohn Edwards, talks about using Windows PowerShell to access the last-modified time stamp in the registry. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Rohn Edwards. Rohn is one of the cofounders of the Mississippi PowerShell User Group. I’m...
  • Blog Post: Hey, Scripting Guy! How Can I List All User Profiles on a Remote Computer?

    Hey, Scripting Guy! I am trying to administer a remote computer using Windows PowerShell 2.0, and I need to find out what profiles are stored on that computer. I found an old VBScript that reads the registry, but it looks like it will be a lot of work to adapt it and to make it work. -- JB Hello...
  • Blog Post: Hey, Scripting Guy! How Can I Modify Registry Settings That Configure Windows Explorer?

    Hey, Scripting Guy! Why does it feel like every single default setting in Microsoft Windows is wrong? It is so frustrating to me to spend five minutes changing all the defaults. For example, I open Internet Explorer and there are no system files. I look at files, but there are no file extensions. The...
  • Blog Post: Hey, Scripting Guy! How Can I Change My Internet Explorer Home Page?

    Hey, Scripting Guy! I just found out that Internet Explorer 7 and even Internet Explorer 8 Beta 2 allows you to have multiple home pages. This is like soooo cool. I would like to be able to write a script that uses Windows PowerShell to change the start page to the Script Center. It would be nice if...
  • Blog Post: Hey, Scripting Guy! How Can I Kill Processes?

    Hey, Scripting Guy! It seems that every single piece of software I install adds a stub application that starts automatically. I know software makers do not do it out of maliciousness, but good grief these people act as if theirs is the most important software on my computer. In the old days, it was pretty...
  • Blog Post: Use PowerShell to Back Up System State Prior to Making Changes

    Summary : Learn how to use Windows PowerShell to back up system state prior to making changes to the registry. Hey, Scripting Guy! I am interested in using Windows PowerShell to work with the registry, but everything I see talks about backing up the registry first. Is it possible to use Windows PowerShell...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/20/09)

    In this post : Troubleshooting a Windows PowerShell Script Using the Replace Operator How Can I Get a List of Certificates and Their Expiration Dates? Can I Change a Registry Value on 200 Computers? Can I Use Windows PowerShell to Delete Folders Within a Directory? Can I Use a Script...
  • Blog Post: Use PowerShell to Edit the Registry on Remote Computers

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to edit the registry on remote computers. Microsoft Scripting Guy, Ed Wilson, is here. In Wednesday’s PowerShell Essentials live meeting presentation, one of the questions revolved around working with the registry...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (1/8/10)

    In this post : How Can I Read the Default Value of a Registry Key? How Can I Get Windows PowerShell for Windows 7? Getting the Get-WmiObject Cmdlet to Work What's the Best Way to Detect Registry Keys Using the WMI Provider? How Can I Read the Default Value of a Registry Key? ...
  • Blog Post: Use PowerShell to Easily Create New Registry Keys

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to create new registry keys on local and remote computers. Hey, Scripting Guy! I am often required to create new registry keys on our computers. One of the reasons for this is for occasional system configuration. You...
  • Blog Post: Use PowerShell to Find and Remove Remote Registry Entries

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to find and remove registry entries from remote systems. Microsoft Scripting Guy, Ed Wilson, is here. It seems that weekends go faster and faster these days. For one thing, spring has definitely sprung down here in Charlotte...
  • Blog Post: Hey, Scripting Guy! How Do I Check Which Version of Windows PowerShell I'm Using?

    Hey, Scripting Guy! With the release of the Community Technology Preview (CTP) 3 for Windows PowerShell, some of our staff have gone ahead and updated their computers. I am now beginning to worry that I need to check the version of Windows PowerShell that is installed on a computer before I run a script...
  • Blog Post: Hey, Scripting Guy! Weekend Scripter: Configuring W32Time Service Logging

    Microsoft Scripting Guy Ed Wilson here, yesterday I wrote a script that configured my domain controller with an external time source. After doing that, I thought it would be a good idea to have the ability to enable and disable diagnostic logging for the W32Time service. I ran across a pretty good knowledge...
  • Blog Post: Create a Custom File Extension by Using PowerShell

    Summary : Learn how to use Windows PowerShell to create a custom file extension to store code snippets. Weekend Scripter: Creating a .snip file type Microsoft Scripting Guy, Ed Wilson, here. After I created the Get-CodeSnippet function yesterday , I decided that it might be useful to have my own...
  • Blog Post: Hey, Scripting Guy! How Can I Tell When I Last Logged On?

    Hey, Scripting Guy! I came into work this morning and my computer was running, and it was logged in. Of course I have a locking screen saver, and the screen was locked, but I am positive that I logged out and shut down my computer last night before I went home. Now I am wondering if someone logged into...
  • Blog Post: Use the PowerShell Registry Provider to Simplify Registry Access

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use the Windows PowerShell registry provider to simplify access to registry keys and properties. Hey, Scripting Guy! I know that I am not supposed to mess around with the Registry on my computer, but the simple fact is that many times there...
  • Blog Post: Use PowerShell to Decrypt LSA Secrets from the Registry

    Summary : Guest blogger, Niklas Goude, talks about using Windows PowerShell to decrypt LSA Secrets from the registry to gain access to domain admin rights. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the exciting conclusion to the Security Week blogs by Niklas Goude. Niklas Goude...
  • Blog Post: Use PowerShell to Detect Version of Internet Explorer

    Summary: Learn how to use Windows PowerShell to detect the version of Internet Explorer that is running on your computer. In this post: Access Environment Variables using a VBS Script Version Control for PowerShell Scripts Detect Internet Explorer Versions ...
  • Blog Post: BATCHman Foils the Fowl Ping Win and Repairs the Registry

    Summary : In this episode, superhero BATCHman foils the fowl villain Ping Win and repairs the registry. Microsoft Scripting Guy Ed Wilson here. Today is Episode 5 of the BATCHman series by Sean Kearney. Note You can read all gripping, engaging, informative, and downright funny BATCHman episodes...
  • Blog Post: Hey, Scripting Guy! How Can I Configure the Cmd Console via the Registry?

    Hey, Scripting Guy! You know, it just dawned on me that Windows PowerShell uses the old-fashioned Fred Flintstone cmd console for its host application. Because this thing has been around forever, are there any registry settings I can use to configure this beast? The reason I am asking is that every time...