PowerTip: Create Array in PowerShell
Summary: Use Windows PowerShell to easily create an array. Can I use Windows PowerShell to create an array of strings and avoid typing quotation marks around all the strings? Instead of...
View ArticleUse PowerShell to Compare Two Files
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to compare two files. Hey, Scripting Guy! I have a script that I wrote to compare two files, but it seems really slow....
View ArticlePowerTip: Use PowerShell to Get File Hash
Summary: Learn how to use Windows PowerShell to get a file hash. How can I use Windows PowerShell to get a hash of a file? Use the Get-FileHash cmdlet, for example:(Get-FileHash C:\fso\myfile.txt).hash
View ArticleUpdate or Add Registry Key Value with PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to update or add a registry key value. Hey, Scripting Guy! I am having a problem trying to update the registry. I am...
View ArticlePowerTip: Use PowerShell to Read Registry Key Property Value
Summary: Use Windows PowerShell to read a registry key property value. How can I use Windows PowerShell to read a registry key property value so I can find the version of a particular software package?...
View ArticleCatch PowerShell Errors Related to Reading the Registry
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Try, Catch, Finally blocks to catch Windows PowerShell errors related to reading the registry. Hey, Scripting Guy! Yesterday you posted...
View ArticlePowerTip: Look at Most Recent Error in PowerShell
Summary: Learn how to see the most recent error in Windows PowerShell. I ran a script that fails. How can I use Windows PowerShell to find the most recent error? Use $error, and to see the most recent...
View ArticleWeekend Scripter: Using PowerShell to Look for Documents
Summary: Microsoft Scripting Guy, Ed Wilson, talks about different approaches to find documents with Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. It is a lovely weekend down here in...
View ArticlePowerTip: Use Filter Parameter with Get-ChildItem in PowerShell
Summary: Use the –Filter parameter with the Get-ChildItem Windows PowerShell cmdlet. Why can't I get the –Filter parameter to work with the Get-ChildItem cmdlet? Try using the FileSystem provider. The...
View ArticleWeekend Scripter: Use PowerShell to Count Words and Display Progress Bar
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to display a progress bar while counting the number of words in Word documents.Microsoft Scripting Guy, Ed Wilson, is...
View ArticlePowerTip: Use PowerShell to Find Folders that Match Pattern
Summary: Learn how to use Windows PowerShell to find folders with names that match a specific pattern. How can I use Windows PowerShell to find the path to folders that have names that match a specific...
View ArticleMeet the PowerShell Summit 2015 Speakers #1
Summary: Microsoft PowerShell MVP, Teresa Wilson, talks about the Windows PowerShell Summit 2015 speakers.Microsoft Scripting Guy, Ed Wilson, is here. This week we will be talking about the PowerShell...
View ArticlePowerTip: Use PowerShell to Display Only Hidden Files
Summary: Use Windows PowerShell to display only hidden files. How can I use Windows PowerShell to locate only hidden files? Use the Get-ChildItem cmdlet and specify the Not Directory and the Hidden...
View ArticleMeet the PowerShell Summit 2015 Speakers #2
Summary: Microsoft PowerShell MVP, Teresa Wilson, talks about the Windows PowerShell Summit speakers.Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Teresa Wilson, as she...
View ArticlePowerTip: Use PowerShell to See Hidden and Non-Hidden Files
Summary: Learn how to use Windows PowerShell to see hidden and non-hidden files. How can I use Windows PowerShell to see all hidden and non-hidden files in a folder? Use the Get-ChildItem cmdlet and...
View ArticleMeet the PowerShell Summit 2015 Speakers #3
Summary: Microsoft PowerShell MVP, Teresa Wilson, talks about the Windows PowerShell Summit speakers.Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife, Teresa Wilson, is my guest blogger...
View ArticlePowerTip: Use PowerShell to Find Files Newer than a Date
Summary: Use the Windows PowerShell to see if a file exists more recent than a certain date. How can I use Windows PowerShell to see if a file more recent than a specific date exists in a folder? Use...
View ArticleMeet the PowerShell Summit 2015 Speakers #4
Summary: Microsoft PowerShell MVP, Teresa Wilson, talks about the Windows PowerShell Summit 2015 speakers.Microsoft Scripting Guy, Ed Wilson, is here. We continue with guest blogger, Teresa Wilson, as...
View ArticlePowerTip: Use PowerShell to Verify Syntax of Path
Summary: Learn how to use Windows PowerShell to verify the syntax of a path. How can I use Windows PowerShell to verify that a path that accepts user input is using the correct syntax? Use the –IsValid...
View ArticleMeet the PowerShell Summit 2015 Speakers #5
Summary: Microsoft PowerShell MVP, Teresa Wilson, talks about the Windows PowerShell Summit 2015 speakers.Microsoft Scripting Guy, Ed Wilson, is here. Today is the final day for guest blogger, Teresa...
View Article