Browse by Tags

Tagged Content 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...
  • 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...
  • Blog Post: How Can I Make Internet Explorer Check for a New Version Each Time I Visit a Web Page?

    Hey, Scripting Guy! How can I make sure that Internet Explorer 6 checks for a new version on each visit to a Web page? -- MD Hey, MD. In baseball lingo we’d call this a can of corn: a lazy fly ball we couldn’t possibly drop. This is a tricky little question but for some strange reason we just happened...
  • Blog Post: How Can I Change the Legal Warning Message Using a Script?

    Hey, Scripting Guy! How can I use a script to change the legal warning message on a computer? -- RB Hey, RB. As you all probably know, when you press Ctrl-Alt-Delete to log on to Windows, you’re typically presented with a logon box. You type your user name, domain, and password in the box, click OK...
  • Blog Post: Use PowerShell to Create New Registry Keys on Remote Systems

    Summary : Learn how to use Windows PowerShell to create new registry keys on remote systems by using remoting. Hey, Scripting Guy! I need to create registry keys on a number of remote servers. I do not want to use the Registry Editor to do this because the servers all have the firewall enabled, and...
  • Blog Post: How Can I Write Binary Data to the Registry?

    Hey, Scripting Guy! How can I write binary data to the registry? -- FG Hey, FG. WMI’s Standard Registry Provider includes a method - SetBinaryData - that makes it relatively easy to write binary data to the registry. There’s one little catch to be aware of, but we’ll let you know what that is. ...
  • Blog Post: Edit the Registry on Multiple Remote Computers with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to edit the registry on multiple remote computers with one command. Microsoft Scripting Guy, Ed Wilson, is here. The PowerShell Essentials for the Busy Admin series was a huge success. Not only were there a lot of people...
  • Blog Post: Hey, Scripting Guy! Weekend Scripter: Configuring an Authoritative Time Server in Windows Server

    Microsoft Scripting Guy Ed Wilson here. I finally had a chance to sit down and catch my breath from the 2010 Scripting Games. I reviewed some awesome scripts, and learned many new tricks. I happened to notice that my desktop computer clock was about five minutes slow. I checked and the domain controller...