Powershell 101
Find and Replace Text in Files
May 3, 2022
No Comments
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
The Powershell Profile
May 2, 2022
No Comments
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.
Copy-Item
May 1, 2022
No Comments
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