Showing archive results for September 2015

Sep 25, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Get Events for Specific Day

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to get event log events that occur on a specific day.  How can I use Windows PowerShell to get application event log events that occur only on Sept. 24, 2015?  Use the Get-EventLog cmdlet and specify the log name and the before and the after dates, for example: Get-EventLog -LogName application -A...

Scripting Guy!Windows PowerShellPowerTip
Sep 25, 2015
Post comments count0
Post likes count0

A Tale of Two PowerShell Cmdlets

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell to explore classic event logs. Microsoft Scripting Guy, Ed Wilson, is here. When you get to version five of anything, you already begin to see signs on strain and pain. I mean, take Windows NT 5.0, for example. Oh yeah. That one was delayed for about five years, and i...

Scripting Guy!Windows PowerShellLogging and events
Sep 24, 2015
Post comments count0
Post likes count0

PowerTip: Get Specific Service Information with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to get specific service information.  How can I use Windows PowerShell to find information about services, if I do not want to include any service             that has a name that begins with the letter “s”?  Use the Exclude parameter from the...

Scripting Guy!Windows PowerShellPowerTip
Sep 24, 2015
Post comments count0
Post likes count0

The Death of PowerShell Scripting

Doctor Scripto
Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about the reduced need to use Windows PowerShell scripting. Microsoft Scripting Guy, Ed Wilson, is here. If you follow me on Twitter or Facebook, you already know that my new book, Windows PowerShell Step by Step, third edition, is on its way to the printers. I am not going to talk about that today...

Scripting Guy!Windows PowerShellscripting techniques
Sep 23, 2015
Post comments count0
Post likes count0

PowerTip: Get Week of Year with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to get the week of the year.  How can I use Windows PowerShell to find how many weeks are left in the current year—without doing lot of math or            calendaring stuff?  Use the Get-Date cmdlet but specify a –uformat of %V: Get-...

Scripting Guy!Windows PowerShellPowerTip