One of the MOST important things in running your own web site (even more important if your running web sites for clients) is making sure that you have good backups, in case something goes wrong. “Something going wrong” could include any of the following: You tinkering around on your production site, messing it up, and … Continue reading "Backup Your Web Site"
I often need to search through logs to find errors and other troubleshooting information. In the Linux world, this often means using grep. In PowerShell, you can use Get-Content and Where-Object.
I recently had a need to get a list of hidden files in a directory tree. PowerShell made it fairly easy to knock out the list in a quick and dirty fashion, by checking if the file Attributes contain the string “Hidden”: