Browse by Tags

Tagged Content List
  • Blog Post: Use PowerShell to Move User Files and Update Registry

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to move user files and update the registry. Hey, Scripting Guy! I need to move a bunch of user files from their local computer to a network share so we can back up the user's data prior to migrating their desktops...
  • Blog Post: Update or Add Registry Key Value with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to update or add a registry key value. Hey, Scripting Guy! I am having a problem trying to update the registry. I am using the New-ItemProperty cmdlet, but it fails if the registry key does not exist. I added the –Force...
  • Blog Post: PowerTip: Use PowerShell to Read Registry Key Property Value

    Summary : Use Windows PowerShell to read a registry key property value. How can I use Windows PowerShell to read a registry key property value so I can find the version of a particular software package? Use the Get-ItemProperty cmdlet, for example: Get-ItemProperty -Path HKCU:\Software\ScriptingGuys...
  • 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: 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: 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: 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...
  • Blog Post: Use PowerShell to Find the History of USB Flash Drive Usage

    Summary : Microsoft premier field engineer, Jason Walker, shows how to use Windows PowerShell to get a history of USB drive usage. Microsoft Scripting Guy, Ed Wilson, is here. I was talking to Jason Walker at the Charlotte Windows PowerShell User Group the other day. I asked him what cool things...
  • Blog Post: Hey, Scripting Guy! The Scripting Wife, Windows PowerShell, and the Registry

    This week we will be following the Scripting Wife as she pushes ahead with her preparations for the 2010 Scripting Games . You can catch up with her progress by reviewing the articles in the archive . Microsoft Scripting Guy Ed Wilson here. I was working on a Windows PowerShell script for Microsoft...