ps1

Playing Sound Files

In the previous tip we explained how PowerShell can play system sounds. For a bit more flexibility, PowerShell can also play arbitrary *.wav sound...

read more

Playing Sounds

If all you need is a beep, then PowerShell can help you easily: $frequency = 800 $durationMS = 2000 [console]::Beep($frequency, $durationMS) If...

read more

Backing Up Event Logs

There are a number of useful cmdlets to manage event logs, however one functionality is missing: PS> Get-Command -Noun EventLog CommandType Name...

read more

Uncover Tiny URLs

Tiny URLs like “http://bit.ly/e0Mw9w” are short and convenient to use, however they often mask the true origin as well. PowerShell can...

read more

Reading Excel Cells

Occasionally, you may have to read information from Excel spreadsheets. PowerShell can access the Microsoft Excel object model albeit it is quite...

read more

Exploiting Select-Object

Select-Object is a basic cmdlet that most PowerShell users use frequently. However, it has some tricks that are not well known. In its most basic...

read more
1 31 32 33 34 35 128