Showing archive results for October 2015

Oct 19, 2015
Post comments count0
Post likes count0

PowerTip: Get File System errors on NTFS Volumes with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to get file system errors on all NTFS volumes.  How can I use Windows PowerShell to check your NTFS volumes for file system errors?  On Windows 10 with Windows PowerShell 5.0, use the Get-Volume cmdlet to retrieve all volumes and           pipe the output to the ...

Scripting Guy!Windows PowerShellPowerTip
Oct 19, 2015
Post comments count0
Post likes count0

Easy Parsing of Messages with PowerShell

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about parsing event message strings with Windows PowerShell.  Hey, Scripting Guy! I have seen people using different tools to find stuff in strings in Windows PowerShell, but it always looks complicated. Why is that? I thought Windows PowerShell was supposed to make things easier, but this loo...

Scripting Guy!Windows PowerShellgetting started
Oct 18, 2015
Post comments count0
Post likes count0

PowerTip: Produce List of Unique Processes with PowerShell

Doctor Scripto

Summary: Learn how to use Windows PowerShell to filter out duplicate process names.  How can I use Windows PowerShell to easily get a unique list of processes running on my local computer?  Use Get-Process to retrieve the processes and pipe the output to Get-Unique: Get-Process | Get-Unique

Scripting Guy!Windows PowerShellPowerTip
Oct 18, 2015
Post comments count0
Post likes count0

Dude It’s a String—The Video

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, presents a video to talk about working with strings in Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. Today I present a video where I talk about working with strings—in particular empty or null strings. I talk about the differences between empty, null, and white space in strings an...

Scripting Guy!Windows PowerShellWeekend Scripter
Oct 17, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Display Number of Minutes in a Day

Doctor Scripto

Summary: Use Windows PowerShell to display the number of minutes in a day.  How can I use Windows PowerShell to easily display how many minutes are in a day?  Create a timespan equal to one day, and then select the total minutes from it: (New-TimeSpan -Days 1).totalminutes

Scripting Guy!Windows PowerShellPowerTip