PowerTip: Ensure Compliance with PowerShell Best Practices
Summary: Learn how to force Windows PowerShell to comply with basic best practices. Is there an easy way for me to help Windows PowerShell comply with basic best practices? Use the Set-StrictMode...
View ArticlePowerShell Best Practices: Simple Scripting
Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell best practices for simple scripts.Microsoft Scripting Guy, Ed Wilson, is here. "Heyyyyy! Script it, baby!" The words of...
View ArticlePowerTip: Find a List of PowerShell Type Accelerators
Summary: Use Windows PowerShell to list type accelerators. How can I find a list of type accelerators available in Windows PowerShell? Use the Get property from TypeAccelerators...
View ArticlePowerShell Best Practices: Simple Functions
Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell best practices related to simple functions.Microsoft Scripting Guy, Ed Wilson, is here. The first time I saw this tea, I...
View ArticlePowerTip: Obtain a List of All Functions in PowerShell
Summary: Learn how to easily find functions in Windows PowerShell. How can I see what functions exist in my current Windows PowerShell session? Use the Function drive, for example:dir function:
View ArticlePowerShell Best Practices: Advanced Functions
Summary: Microsoft Scripting Guy, Ed Wilson, talks about best practices for Windows PowerShell advanced functions.Microsoft Scripting Guy, Ed Wilson, is here. This morning, I am again enjoying a cup of...
View ArticlePowerTip: Set the PowerShell ISE Zoom Level
Summary: Use a Windows PowerShell command to set the ISE zoom level. How can I ensure that the Windows PowerShell ISE zoom level is set to 100 percent all the time? Use the $psISE options, and set the...
View ArticleWeekend Scripter: Use PowerShell to Automate Active Directory Accounts
Summary: Guest blogger, Gary Jackson, shares a technique to automate Active Directory accounts.Microsoft Scripting Guy, Ed Wilson, is here. I met Gary Jackson at the Windows PowerShell Summit in April....
View ArticlePowerTip: Use PowerShell to Report Daylight Savings Time
Summary: Use Windows PowerShell to report if it is daylight savings time. How can I use Windows PowerShell to report if it is daylight savings time? Use the Get-Date cmdlet, and call the...
View ArticleWeekend Scripter: Predicting the Future of PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell and the future of the technology.Microsoft Scripting Guy, Ed Wilson, is here. Ahhh…the weekend. This morning, I decided...
View ArticlePowerTip: Use PowerShell to Test Virtual Hard Disks
Summary: Use Windows PowerShell to test your virtual hard disks. How can I easily test the virtual hard disks on my Windows 8.1 laptop to ensure that they will work? Get a collection of all .vhd and...
View ArticleUse PowerShell to Troubleshoot Defrag Issues
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to troubleshoot defrag issues in Windows 8.1.Microsoft Scripting Guy, Ed Wilson, is here. This week, I begin a...
View ArticlePowerTip: Open Printer Dialog Box from PowerShell
Summary: Open Printer and Devices in Control Panel from within Windows PowerShell. How can I use Windows PowerShell to open Printer and Devices in Control Panel so I don't have to use the mouse?...
View ArticleUse FilterHashTable to Filter Event Log with PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using a filter hash table to filter the event log with Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. The weather here in...
View ArticlePowerTip: Find Permissible Event Log Keywords with PowerShell
Summary: Learn to find permissible event log keywords values with Windows PowerShell. How can I use Windows PowerShell to find examples of keywords when I use a FilterHashTable value with...
View ArticleData Mine the Windows Event Log by Using PowerShell and XML
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Get-WinEvent in Windows PowerShell with FilterXML to parse event logs.Microsoft Scripting Guy, Ed Wilson, is here. Today I am sipping a...
View ArticlePowerTip: Use PowerShell to See Latest Log Entry
Summary: Easily see the newest log entry by using Windows PowerShell. How can I use Windows PowerShell to quickly check the most recent entry from a classic event log, such as the...
View ArticleUsing PowerShell to Parse System Log for Windows Updates
Summary: Learn how to use XML and Windows PowerShell to parse the Windows system event log for Windows updates.Microsoft Scripting Guy, Ed Wilson, is here. Sometimes I come up with a solution, and then...
View ArticlePowerTip: Use PowerShell to Open Event Log
Summary: Use a Windows PowerShell cmdlet to open the event log viewer. How can I use a Windows PowerShell cmdlet to open the event log viewer? Use the Show-EventLog cmdlet.
View ArticleUnderstanding XML and XPath
Summary: Microsoft Scripting Guy, Ed Wilson, explores XML and XPath.Microsoft Scripting Guy, Ed Wilson, is here. One of the things that confused me for a long time about using the Get-WinEvent cmdlet...
View Article