Browse by Tags

Tagged Content List
  • Blog Post: Weekend Scripter: Use PowerShell to Identify Network Adapter Characteristics

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to identify network adapter characteristics. Microsoft Scripting Guy, Ed Wilson, is here. Today I am kicking off Network Adapter Week. Note PowerShell Saturday #007 will be held in Charlotte, North Carolina on...
  • Blog Post: Hey, Scripting Guy! How Can I Remove a Microsoft Update?

    Hey, Scripting Guy! You are not going to believe this. We recently deployed a Microsoft Update, and it is not working well for us. I tested it, of course, but for some reason it is not playing well with our systems. I now need to determine what the problem is, but in the meantime, I want to remove the...
  • Blog Post: How Can I Modify the Output of the Ping Command?

    Hey, Scripting Guy! How can I place the current date and time at the beginning of each line of Ping.exe output? -- AL Hey, AL. We have to admit, we were a little shocked by your question. Change the output of the Ping command? Really, AL. Would you ask us to rewrite Romeo and Juliet , giving it a...
  • Blog Post: Weekend Scripter: Use PowerShell to Find Auto-Connect Wireless Networks

    Summary : Use Windows PowerShell to identify auto-connect wireless networks in Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about traveling around is that I am constantly confronted with new challenges. Invariably these new challenges tend to cause me to use Windows...
  • Blog Post: Weekend Scripter: Use PowerShell to Manage Auto-Connect Wireless Networks

    Summary : Use Windows PowerShell to manage auto-connect wireless networks in Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. Today I am going to continue my blog about working with auto-connect wireless networks in Windows 8. In yesterday’s blog post, Weekend Scripter: Use PowerShell...
  • Blog Post: The Easy Way to Monitor for an IP Address by Using PowerShell

    Summary : The Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to monitor for acquiring an IP address. Hey, Scripting Guy! We have a problem. It seems that when people with laptops come into the office, it takes forever for them to obtain network access. On the tool bar, a blue...
  • Blog Post: Configure a Network Adapter to Wake a Computer Via PowerShell

    Summary : Learn how to use Windows PowerShell to configure a remote computer's network adapter to wake the computer. Hey, Scripting Guy! At work, we have been trying to get our automation solution put into place. One problem is that on many of the computers, the network adapter is not configured...
  • Blog Post: Hey, Scripting Guy! How Do I Find Information About the Network Adapter Cards on My Computer?

    Hey, Scripting Guy! When I use WMI to query for network cards on my laptop, it comes back with 32 network cards. 32! I am not lying. My laptop does not even have 32 slots, so how does it have 32 network cards in it? How can I find information about the "real" network cards on my laptop? I figure I should...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/31/09)

    How Can I Migrate AutoText When I Upgrade from One Version of Microsoft Office to Another? Hey, Scripting Guy! We are in the process of converting from Office 2003 to Office 2007. Many people use AutoText and I am trying to automate the process of converting or bringing over their AutoText. I created...
  • Blog Post: Use PowerShell to Show Update Messages from a Specific App

    Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to display Windows Update messages from specific apps in Windows 8. Hey, Scripting Guy! I need to find out how often I am getting Windows Update messages for various apps in Windows 8. It seems like I am having to update...
  • Blog Post: Why Doesn't My Ping Script Run on Windows 2000 Computers?

    Hey, Scripting Guy! I have a script that pings a computer before it tries to connect to it. The script works fine on Windows XP, but doesn’t work at all on my Windows 2000 computers. Do you have any idea why? -- AK Hey, AK. As a matter of fact, we do have an idea why. Here’s a simplified version of...
  • Blog Post: Use PowerShell to Change IP Behavior with SkipAsSource

    Summary: Microsoft support engineer James Kehr talks about using Windows PowerShell to change IP behavior by implementing SkipAsSource. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have guest blogger James Kehr, a support engineer here at Microsoft. Take it away, James … When...
  • Blog Post: Use PowerShell 3.0 to Clear the Client DNS Cache on Workstations

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell 3.0 to clear the client DNS cache on workstations. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I love about Windows PowerShell 3.0 in Windows 8 is the number of cmdlets available. These cmdlets make...
  • Blog Post: Hey, Scripting Guy! How Can I Tell Which Software Updates Are Available Via Windows Update?

    Hey, Scripting Guy! I am curious about the updates that are available from Windows Update. The whole process seems so nebulous. It is like some kind of Impressionist painting that suggests things, but I never really get a feel for the updates that are coming down or the ones that are available. I like...
  • Blog Post: How Can I Change the First Two Octets of an IP Address?

    Hey, Scripting Guy! How can I change the first 16 bits on an IP address? I want to keep the last 16 bits exactly the same. -- LD Hey, LD. Before we answer your question we should note that we are well aware that “suggestive” photos of an American Idol contestant have allegedly been uncovered on the...
  • Blog Post: Use PowerShell to Configure the NIC on Windows Server 2012

    Summary: Guest blogger and Microsoft MVP Jan Egil Ring talks about using Windows PowerShell 3.0 to automatically configure the NIC on Windows Server 2012. Microsoft Scripting Guy, Ed Wilson, is here. Yesterday, The Scripting Wife and I traveled from Stockholm, Sweden, to Oslo, Norway, and had dinner...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (01/30/09)

    How Do I Compress Files? Hey, Scripting Guy! After some time without needing help, I've run into a problem about which I have been unable to discover any information. Perhaps you can aid me. Assume you have (1) a single file, and (2) a folder that contains a number of files of various types. Further...
  • Blog Post: Use a PowerShell Module to Run Windows Update

    Summary: Microsoft Scripting Guy, Ed Wilson, talks about using a free Windows PowerShell module to run Windows Update on a computer. Microsoft Scripting Guy, Ed Wilson, is here. One thing that is a bit disappointing is that Windows 8 and Windows Server 2012 do not come with cmdlets to permit me to...
  • Blog Post: How Can I Configure a Computer to Use a Dynamically-assigned DNS Server?

    Hey, Scripting Guy! How can I configure a computer to use a dynamically-assigned DNS Server? -- JB Hey, JB. Ah, this question brings back memories. A couple years ago the Scripting Guys were faced with this same problem, and discovered the answer entirely by accident; in fact, if Greg was able to...
  • Blog Post: How Can I Associate a Network Connection with an IP Address?

    Hey, Scripting Guy! How can I determine the local area connection that’s associated with a particular IP address? -- SH Hey, SH. Believe it or not, this is a fairly complicated procedure, and for two reasons. To begin with, we have to use two separate WMI classes - Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration...
  • Blog Post: How Can I Determine When the Last Patch From Windows Update was Applied?

    Hey, Scripting Guy! How can I determine when the last patch from Windows Update was applied? -- JP Hey, JP. You know, you picked a good time to ask this question; that’s because we just published a Tales from the Script column that introduces scripters to the Windows Update object model, and provides...
  • Blog Post: Use PowerShell to Test Connectivity on Remote Servers

    Summary : Microsoft Scripting Guy talks about using Windows PowerShell to test connectivity after a network configuration change. Microsoft Scripting Guy, Ed Wilson, is here. It seems that there are always good news/bad news types of scenarios. After months of trying to obtain faster Internet connectivity...
  • Blog Post: How Can I Determine if a Particular Patch is Installed?

    Hey, Scripting Guy! How can I use a script to determine if a particular patch has been installed? -- GM Hey, GM. You know, not too long ago this would have been a question we might have “accidentally” dropped in the wastebasket and pretended never to have seen. Why? Well, back in the old days the...
  • Blog Post: Use the PowerShell DHCP Module to Simplify DHCP Management

    Summary : Learn about using a free Windows PowerShell module to simplify working with DHCP. Hey, Scripting Guy! I would like to know how to use Windows PowerShell to work with Microsoft DHCP servers. Can this be done? —EJ Hello EJ, Microsoft Scripting Guy, Ed Wilson, here. It...
  • Blog Post: How Can I Display the IP Addresses Associated with a Given MAC Address?

    Hey, Scripting Guy! How can I display the IP addresses associated with a given MAC address? -- NK Hey, NK. Before we answer your question we should take a moment to answer a related question. People often ask us, “If I have a MAC address can I write a script that will tell me which computer on my...