This simple script tamed my Downloads folder.
Secure file transfer protocol (SFTP) is a safe way to transfer files between hosts over the internet. While PowerShell does not offer built-in support for SFTP, you can add this functionality using ...
Storing data in a structured way is important when that data will be read by a computer. One of the easiest ways to put data into an easy-to-read format is with a comma-separated value (CSV) file. A ...
Learn how to use PowerShell "for" loop to automate tasks in Windows PowerShell. Includes syntax, examples, loop comparisons ...
One task that I hate doing is clicking through Windows just to create a file share. Creating file shares is a highly common activity that many IT pros go through and is one that is ripe for automation ...
Typically, on a Windows-based PC, you can check an item or a folder’s size by just right-clicking the item or folder and then selecting Properties from the context menu. In this post, we will show you ...
I'm reading a list of files from text file, and some of the filenames have the " character as part of their name. For instance: $xx = Get-Content -Path $list ForEach ...
When you first start writing scripts, modularity, reusability, and best practices may not be top of mind. As your scripts become more complex, however, creating reusable elements becomes essential. By ...