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: How Can I Tell Whether a Value Exists in the Registry?

    Hey, Scripting Guy! How can I tell whether a value exists in the registry on a remote computer? -- AL Hey, AL. Full disclosure time: even though we go by the name The Scripting Guys , we don’t claim to know everything there is to know about scripting. This question is a good example of that. When...
  • 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: Hey, Scripting Guy! How Can I Determine the Default Buffer Size for the Command Window?

    Hey, Scripting Guy! How can I determine the default buffer size for the command window? -- GO Hey, GO. You know, some of you might be wondering, “Why a daily scripting column ? Why not, say, a daily scripting TV show?” That’s a good question, and there are a number of reasons...
  • 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! How Can I Retrieve All the Values in a Registry Key?

    Hey, Scripting Guy! Do you have a script that will enable me to enumerate all the values in a registry key? -- DG Hey, DG. You know, this past weekend the Scripting Guy who writes this column went out to buy doughnuts, a process that took much longer than it should have. Why did it take so long just...
  • Blog Post: How Can I Change the Text for the Marquee Screen Saver?

    Hey, Scripting Guy! How can I change the text for the Marquee screen saver? -- SJ Hey, SJ. Greetings from the frozen wasteland formerly known as Redmond, WA. On Monday night a freak November snowstorm hit the Seattle area. However, instead of leaving behind snow it left behind an inch or so of ice;...
  • 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: Hey, Scripting Guy! How Can I Determine the Currency Symbol in Use on a Computer?

    Hey, Scripting Guy! Is there any way to determine the currency symbol that’s in use on a computer? -- IR Hey, IR. Before we get started today we wanted to mention that the Scripting Son picked up his second win in as many pitching starts the other day as the Juanita Rebels rolled past Franklin High...
  • Blog Post: Can I Create and Delete a DSN Using a Script?

    Hey, Scripting Guy! Is it possible to create an ODBC Data Sources Name (DSN) on the fly and then remove it when done? -- KC Hey, KC. Is it possible to create and then delete an ODBC DSN? To tell you the truth, we weren’t entirely sure. As it turns out, however the answer is this: as long as you’re...
  • Blog Post: Hey, Scripting Guy! How Can I Change a Registry Value Named (Default)?

    Hey, Scripting Guy! I am trying to change a registry value that has the name (Default). I can change any registry value that has a “real” name, but I can’t figure out how to change one with the name (Default). If I export the value the name shows up as @, but that doesn’t work in my script, either. How...
  • Blog Post: How Can I Clear the List of URLs That Appear in the Internet Explorer Address Bar?

    Hey, Scripting Guy! How can I clear the list of URLs that appear in the Internet Explorer address bar? -- GA Hey, GA. You know, if you’ve ever pondered the question, “What is it that makes the Scripting Guys different from other Microsoft employees?” well, we can save you some time and trouble by...
  • 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: How Can I Change the Description for a Computer?

    Hey, Scripting Guy! When I use Windows Explorer to connect to a remote computer, I can see a description of that computer in the Details pane. How can I change the description for a computer? -- GF Hey, GF. Just to make sure everyone is clear what we’re talking about, we are not talking about the...
  • Blog Post: Hey, Scripting Guy! How Can I List All the User Profiles on a Computer?

    Hey, Scripting Guy! How can I list all the user profiles on a computer? -- GN Hey, GN. You want to know a secret? We hate questions about user profiles. It’s not that we have anything against user profiles. The problem is that user profiles represent an important part of a system administrator’s duties...
  • 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...