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 …

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 – How to use Transcripts to keep history of commands and output

The primary tool for logging Powershell activity has been the Start-Transcript cmdlet. Simply enter this cmdlet followed by a path and filename for the log file that you want to create. PowerShell will populate the log file with every subsequent command that is entered. Read More …