Browse by Tags

Tagged Content List
  • Blog Post: Use PowerShell to Detect if Hypervisor is Present

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to determine if a hypervisor is present Hey, Scripting Guy! I have been trying to use WMI to determine if a server has the hypervisor present. I found the WMI class, and even the properties I need. But alas, the WMI...
  • Blog Post: Use PowerShell to Disable Wi-Fi

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to disable Wi-Fi if Ethernet is connected. Hey, Scripting Guy! When I have an Ethernet cable plugged in to my laptop and I am connected to a network, I want to ensure that everything else is disabled. How can I do that...
  • Blog Post: Use PowerShell to Enable Wi-Fi

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to enable Wi-Fi if Ethernet is not connected. Hey, Scripting Guy! Most of the time when I use my laptop running Windows 8.1, I am plugged in to the Ethernet network at work. Occasionally, I unplug the laptop and take...
  • Blog Post: Weekend Scripter: Use PowerShell to Find and Disable Webcams

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find and disable webcams and cameras. Microsoft Scripting Guy, Ed Wilson, is here. It is really interesting (at least to me) the way certain questions seem to swirl around like trigger fish taking up residence near...
  • Blog Post: Use PowerShell to Work with Network Adapter Power Settings

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to work with network adapter power settings. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to continue my network adapter series, but first... PowerShell Saturday #007 will be held in Charlotte, North...
  • Blog Post: Using PowerShell to Find Connected Network Adapters

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about ways to use Windows PowerShell to find connected network adapters. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am enjoying a nice pot of Oolong green tea. This tea has a great taste, especially when I add a bit of jasmine...
  • Blog Post: Renaming Network Adapters by Using PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about various ways to rename network adapters by using Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. I am sitting here sipping a cup of tea made from English Breakfast, peppermint and spearmint leaves, strawberry leaves, licorice...
  • Blog Post: Enabling and Disabling Network Adapters with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks using Windows PowerShell to enable and disable network adapters. Microsoft Scripting Guy, Ed Wilson, is here. Today I have spent much of the day working with the various speakers who will be speaking at Windows PowerShell Saturday #007 in Charlotte...
  • 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! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (02/06/09)

    How Can I Pipe Over a Variable for Use in a File Name? Hey, Scripting Guy! Sorry to bother you but I have been looking for an answer to this for a few hours now. I’ve also been experimenting but have had no luck figuring it out yet. How do you get a variable to pipe over to use in a file name?...
  • Blog Post: Hey, Scripting Guy! How Can I Use Windows PowerShell to Retrieve Information About Computer Hardware?

    Hey, Scripting Guy! I need to use Windows PowerShell to retrieve information about my computer hardware. Specifically I am interested in the make, the model, and the speed of my CPU by using a script. Can this be done? -- DH Hello DH, Microsoft Scripting Guy Ed Wilson here. The 2010 Scripting...
  • Blog Post: Use PowerShell 3.0 to Stop Network Adapters on Windows 8

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell 3.0 to stop network adapters on Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. The other day a customer asked me, “Is it a Microsoft requirement that all their consultants can’t be more than five...
  • 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: Use PowerShell to Explore Windows Audio Drivers

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore Windows audio drivers. Hey, Scripting Guy! I have a problem with one of my computers—the audio driver is causing me fits. I would like to know if I can use Windows PowerShell to explore this issue....
  • Blog Post: Hey, Scripting Guy! How Can I Collect Processor Information?

    Hey, Scripting Guy! I am interested in using Windows PowerShell to collect processor information, but I do not need to see the raw data. I would rather see calculated results such as the maximum, minimum, and average processor utilization. I know I can do this, but that seems like writing a lot of math...
  • Blog Post: How Can I Determine Which USB Devices are Connected to a Computer?

    Hey, Scripting Guy! How can I determine which USB devices are connected to a computer? -- WM Hey, WM. If you watch a lot of TV - um, not that the Scripting Guys do; we spend our spare time reading the works of Shakespeare, solving differential equations, and otherwise tending to our many intellectual...
  • Blog Post: Use PowerShell to Report and Set Monitor Brightness

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to report and set monitor brightness. Microsoft Scripting Guy, Ed Wilson, is here. Today I was exploring the Root/WMI namespace in Windows Management Instrumentation (WMI) on my Windows 8 laptop. I happened to run across...
  • Blog Post: How Can I Get a List of Installed Device Drivers?

    Hey, Scripting Guy! How can I get a list of installed device drivers, their version number, and their date? -- SH Hey, SH. You know, as we’re writing this column the first round of the NCAA men’s basketball tournament is in full swing. But don’t worry: despite the fact that this year’s opening round...
  • Blog Post: Hey, Scripting Guy! How Can I Tell If a Computer Has a SmartCard Reader Attached?

    Hey, Scripting Guy! How can I tell if a computer has a SmartCard reader attached? -- TE Hey, TE. Um, we hate to be rude, TE, but we’re closed today; we only answer questions Monday through Friday. We’d be happy to help you out, but you’re going to have to come back on – what’s that? It is Monday?...
  • Blog Post: How Can I Tell if a Computer Has a DVD Drive Installed?

    Hey, Scripting Guy! How can I tell if a computer has a DVD drive installed? -- GC Hey, GC. No doubt you’re hoping we’ll say something like, “Why, you just use the Win32_DVD class, of course.” Unfortunately, though, we can’t say that; that’s because there is no Win32_DVD class, or any class devoted...
  • Blog Post: How Can I Get a List of the Devices That Aren't Working?

    Hey, Scripting Guy! In Device Manager, any time a device isn’t working that device is marked with a yellow exclamation mark. How can I use a script to get a list of the devices that aren’t working? -- OL Hey, OL. Sometimes in baseball a batter absolutely hammers one, but the ball takes a lucky bounce...
  • Blog Post: Use PowerShell 3.0 to Work with Network Adapters

    Summary : Learn how to use the Get-NetAdapter CIM cmdlet in Windows PowerShell 3.0. Microsoft Scripting Guy, Ed Wilson, is here. I must live a rather boring life—although to be honest, it does not really seem to be so boring. Or perhaps, I am just a geek. What am I talking about? I am really...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/6/09)

    In this post : Using the Active Directory DirectoryEntry Class How Can I Run a Script Whenever a New USB Drive Is Attached to a Computer? Making a Specific Windows PowerShell 2.0 Script Work with Windows PowerShell 1.0 Can I Use VBScript to Distinguish Between Versions of Windows Server...
  • Blog Post: Expert Solution for 2011 Scripting Games Advanced Event 5: Use PowerShell to Get Information Prior to Windows Upgrade

    Summary : Microsoft MVP, Richard Siddaway, solves 2011 Windows PowerShell Scripting Games Advanced Event 5 and gets information prior to a Windows upgrade. Microsoft Scripting Guy, Ed Wilson, here. Richard Siddaway is our expert commentator today. Here are Richard’s own words describing his...
  • Blog Post: How Can I Tell If a Wireless Network Adapter is Connected to the Network?

    Hey, Scripting Guy! How can I tell if a specific wireless network adapter is connected to the network? -- MS Hey, MS. You know, this is a sad day for the Scripting Guy who writes this column. After 10 days of eating Italian pastries, visiting the ruins of ancient cities, and flitting about Venice...