Searching through files for matching text strings (Powershell)

Let’s see some Powershell ways to search for text or files, also in Word and Excel programs, on a Windows system (server and client). A scripting way to this common tedious activity (searching for files and text in files) would be useful to not waste time, most of the time. Read More …

Copy file to remote servers (Powershell)

A common activity, on many IT environments, is to move/copy files from a system to another, usually in a scheduled mode. Let’s see how to do it with Powershell on Windows systems. Read More …

Take Files/Folders Ownership (Microsoft Windows)

Many organizations with a Microsoft Windows environment rely on NTFS as the main file system for their storage devices that contain sensitive data. It is the easiest way for users to work with files. In order to implement a least-privilege model, which is a best practice for system security, IT security specialists and system administrators configure NTFS access control lists (ACLs) by adding access control entries (ACEs) on NTFS file servers. Read More …

Powershell – find files larger than a specific size

A common task, especially during the development of specific filesystem tasks in a script, is to find and list all files that are larger than a specific file size in folder (and subfolders); in the following example we will find files larger than 500 MB in the entire C:\ drive. Read More …