Showing archive results for August 2015

Aug 16, 2015
Post comments count0
Post likes count0

PowerTip: Looking at Logs with PowerShell

Doctor Scripto

Summary: Find logs that are not enabled with Windows PowerShell.  How can I use Windows PowerShell to quickly see which logs in the event log tool are not enabled by default?  Use the Get-WinEvent cmdlet to produce a list of all the logs, then pipe the results to the Where-Object cmdlet,         &nb...

Scripting Guy!Windows PowerShellPowerTip
Aug 16, 2015
Post comments count0
Post likes count0

Weekend Scripter: Expanding Compressed Archives—The Video

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, created a video that illustrates expanding compressed archives with Windows PowerShell 5.0.Microsoft Scripting Guy, Ed Wilson, is here. There is a gigantic shaggy dog looking in the window at me. I think it is a North American slobber hound, but then I have never been great at identifying shaggy dogs. On...

Scripting Guy!Windows PowerShellWeekend Scripter
Aug 15, 2015
Post comments count0
Post likes count0

PowerTip: Get Latest Entry from Event Log with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to get the latest entry from an event log.  How can I use Windows PowerShell to see the most recent entry from the application log?  Use the Get-EventLog cmdlet, specify the log name, and use the –Newest 1 parameter, for example: Get-EventLog application -Newest 1

Scripting Guy!Windows PowerShellPowerTip
Aug 15, 2015
Post comments count0
Post likes count0

Weekend Scripter: Compressed Archives—The Video

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, created a video to illustrate using Windows PowerShell 5.0 to create compressed archives.Microsoft Scripting Guy, Ed Wilson, is here. The sky is a deep blue, and the early morning haze on the horizon hides the fluffy white clouds causing them to blend into the sky like a brush stroke by an impressio...

Scripting Guy!Windows PowerShellWeekend Scripter
Aug 14, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell 5 to Compress Files

Doctor Scripto

Summary: Learn how to use the new Compress-Archive cmdlet to compress selected files in Windows PowerShell 5.0.  How can I compress a bunch of files on my computer that match a pattern I supply to Get-ChildItem?  Use Get-ChildItem to find the files you want to compress, and pipe the results to the Compress-Ar...

Scripting Guy!Windows PowerShellPowerTip