Cyber Defense

PowerShell Script to Block Cortana for Privacy

A simple PowerShell script to disable Windows Cortana and block outbound Cortana-related network traffic, while still allowing Cortana to be used for local searches, such as for settings and apps. Continue reading PowerShell Script to Block Cortana for Privacy


PowerShell 7-Zip Module Versus Compress-Archive with Encryption

A free PowerShell module makes 7-Zip archives very easy to use, especially when encrypting 7z and Zip archives with 256-bit AES encryption. 7-Zip is much better than the built-in Compress-Archive and Expand-Archive cmdlets, and can be combined with KeePass. Continue reading PowerShell 7-Zip Module Versus Compress-Archive with Encryption


PowerShell Function to Send UDP SYSLOG Message Packets

Simple PowerShell function to send syslog message packets to UDP 514, including facility, severity and custom payloads. Continue reading PowerShell Function to Send UDP SYSLOG Message Packets


Attend SEC505 at San Diego (Oct 23, 2016) and get the Windows PowerShell Cookbook by Lee Holmes

Free copy of the Windows PowerShell Cookbook, by Lee Holmes, if you attend the Securing Windows and PowerShell Automation course (SEC505) in San Diego, starting October 23, 2016. Continue reading Attend SEC505 at San Diego (Oct 23, 2016) and get the Windows PowerShell Cookbook by Lee Holmes


Launch PowerShell Script From Within KeePass And Include Password Secure String Credential

Run PowerShell scripts and commands from within KeePass by double-clicking, securely sending passwords from KeePass into PowerShell using DPAPI. Continue reading Launch PowerShell Script From Within KeePass And Include Password Secure String Credential