Now I am just starting with PowerShell, so I will likely come up with some ridiculously simple examples.
One of thing I really like about PowerShell is the ability to pipe things from one CmdLet to another.
Imagine you want to get all instances of the the running process “notepad” and kill them.
This is easily achieved using the following code
Like I say this is ridiculously simple, and hardy worthy of a blog post at all, but I aim to build a set of common tasks posts, and this will just form one of those.
So until next time