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: Registry Cmdlets: Complete the Registry CDXML Module

    Summary : Richard Siddaway shows how to complete the registry CDXML module. Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the final post in a series. To catch up, read: Registry Cmdlets: Working with the Registry Registry Cmdlets...
  • Blog Post: Registry Cmdlets: Advanced CDXML

    Summary : Richard Siddaway shows some advanced features in CDXML. Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the third post in a series. To catch up, read: Registry Cmdlets: Working with the Registry Registry Cmdlets: First...
  • Blog Post: Registry Cmdlets: First Steps with CDXML

    Summary : Richard Siddaway shows how to start creating CDXML cmdlets. Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the second post in a series. Yesterday, in Registry Cmdlets: Working with the Registry , I explained that there aren’t...
  • Blog Post: PowerTip: Use PowerShell to Find Parameters for CIM Class Method

    Summary : Learn how to discover the parameters for a method in a CIM class. How can I find the parameters of a CIM class method, such as GetStringValue in the StdRegprov class? Use Get-CimClass to get the class: $class = Get-CimClass -ClassName StdRegProv To view the methods: $class.CimClassMethods...
  • Blog Post: Registry Cmdlets: Working with the Registry

    Summary : Richard Siddaway investigates how to use CIM to manage the registry. Honorary Scripting Guy, Richard Siddaway, here filling in for my good friend The Scripting Guy. Today, I'm starting a series about registry cmdlets by investigating how to work with the registry. The bad news is...
  • Blog Post: PowerTip: Use PoweShell to Search for CIM Classes

    Summary : Learn how to use Windows PowerShell to search for CIM classes. How can I use Windows PowerShell to find a CIM class on my machine? Use Get-WmiObject in List mode. For instance, to find the class for working with the registry, use: Get-WmiObject -Namespace root -Class StdRegProv -List...
  • Blog Post: Weekend Scripter: Change Internet Explorer Start Page via PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to change the Internet Start page on his Microsoft Surface . Microsoft Scripting Guy, Ed Wilson, is here. It is no secret that I love my Microsoft Surface. Just before our trip to Europe, I bought a nice Microsoft Surface...
  • 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: Beginner Event 5: The 400-meter race

    The 400-meter race is a common track event. You will therefore be asked to perform the very common task of reading from the registry and writing to the registry. Event Scenario You have all seen the warnings concerning writing information to the registry. Those warnings are designed to scare you...
  • 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: 2010 Scripting Games: Beginner Event 6--Reporting the Status of 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 Division Beginner Date of Event May 3, 2010 Due Date May 10, 2010 Event Scenario A recent network trace...
  • 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: Registry Script Doesn't Work

    Hey, Scripting Guy! I tried writing a script to read data from the registry, but I keep getting this error: Do you have any idea what's wrong? I'm running Windows XP Professional, Service Pack 1, and this is the code I'm using: Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "."...
  • Blog Post: How Can I Retrieve the Path to the Program Files Folder on a Computer?

    Hey, Scripting Guy! How can I retrieve the path to the Program Files folder on a computer? -- CC Hey, CC. How can you retrieve the path to the Program Files folder on a computer? Well, to be honest, not as easily as we thought you could. If you’re trying to retrieve the Program Files path on the local...
  • Blog Post: Use PowerShell to Quickly Find Installed Software

    Summary: Learn how to use Windows PowerShell to quickly find installed software on local and remote computers. Microsoft Scripting Guy Ed Wilson here. Guest Blogger Weekend concludes with Marc Carter. The Scripting Wife and I were lucky enough to attend the first PowerShell User Group meeting in...