Category: Powershell

Find and Replace Text in Files

There may be occasions where you need to search for something in a text file, and if found, replace it with something else.  I have found this very handy for when we need to globally

Read More »

The Powershell Profile

The Powershell profile file allows you to create custom functions for common tasks.  These functions are loaded automatically when you launch a shell, so they are always available to you. The PowerShell console supports four

Read More »

Copy-Item

If you are copying a folder, the Copy-Item cmdlet always assumes you want to create the folder in the destination.  Let’s say you wanted to copy the “trek” folder from a server, to your local

Read More »