ps1

Using Background Jobs

Background jobs can help speed up your scripts. If your scripts consist of a number of separate tasks that also could run in parallel, then...

read more

Removing Windows 10 Apps

Windows 10 comes with a bunch of preinstalled apps. Fortunately, you can use PowerShell to remove any app you don’t like. You may need...

read more

Downloading Files

Invoke-WebRequest can download files from the internet for you. This example downloads a 33MB public NASA video to your computer, then starts to...

read more

Creating Real Classes

PowerShell introduces class support in PowerShell 5.0, but you can define your own classes in other PowerShell versions as well. Simply use C# code...

read more

Executing with Timeout

Start-Process can start processes but does not support a timeout. If you wanted to kill a runaway process after a given timeout, you could use an...

read more
1 57 58 59 60 61 128