Use PowerShell and WMI to Glean Basic Operating System Information

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and WMI to obtain basic operating system information.  Hey, Scripting Guy! I need to check on computers on my network to find out the operating system, service pack level, and whether the computer has been rebooted in the last 30 days. Can you help…


Use PowerShell to Provide Startup Information

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find startup information.  Hey, Scripting Guy! It seems that my laptop running Windows 8.1 takes forever to start lately. I don’t really even know where to begin with this. I haven’t added anything that I know of, but still it is dog slow. I…


Use PowerShell to Easily Compare the Time Between Two Computers

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to easily compare the time between two computers. Microsoft Scripting Guy, Ed Wilson, is here. In two days, I will be speaking to the AZPOSH Windows PowerShell user group in Phoenix, Arizona. No, I am not flying out there—I have enough travel coming…


Use PowerShell 3.0 to Find Enabled Windows 8 Features

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell 3.0 to find enabled Windows 8 features. Microsoft Scripting Guy, Ed Wilson, is here. One of the neat things about Windows (does not matter the version) is how I can customize the installation or deployment. In fact, nearly every version of Windows I…


Use PowerShell to Save Time with Win32_TimeZone and DST Time Changes

Summary: Write a Windows PowerShell function to determine the status of time changes to daylight savings time. Microsoft Scripting Guy, Ed Wilson, is here. At the Windows PowerShell User Group meeting in Charlotte, North Carolina, Brian Wilhite talked about a few of his scripts during the script club. I said, “Dude, that is cool, and…


Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/10/10)

Summary: The Scripting Guys answer questions about Windows Features, and discuss troubleshooting VBScript scripts and Windows PowerShell. In this post: Converting a VBScript Script to a Windows PowerShell Script Using the Add-Windowsfeature Cmdlet to Add the Windows PowerShell ISE to a Remote Server Troubleshooting a VBScript Script to Find and Replace in SQL Server 2008…

1

Hey, Scripting Guy! Weekend Scripter: Configuring W32Time Service Logging

  Microsoft Scripting Guy Ed Wilson here, yesterday I wrote a script that configured my domain controller with an external time source. After doing that, I thought it would be a good idea to have the ability to enable and disable diagnostic logging for the W32Time service. I ran across a pretty good knowledge base…

2

Hey, Scripting Guy! Weekend Scripter: Accessing Environmental Variables

  Microsoft Scripting Guy Ed Wilson here. I spent the day at SQL Saturday in Charlotte, NC. I could not resist the opportunity to network with that many rabid Windows PowerShell addicts. I mean, anyone who gives up their Saturday to come to a Microsoft office and sit in training sessions all day is dedicated….

0

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (3/12/10)

In this post: How Can I Format Dates in Windows PowerShell? A Get-ProgID Function from James Brundage? How Can I Run This Script on Remote Computers? Using Command-Line Arguments with Batch Files Can You Help Me Improve My Script?   How Can I Format Dates in Windows PowerShell? Hey, Scripting Guy! I am having trouble…

4