Encrypt and store passwords securely in PowerShell scripts

Encrypting passwords (and usernames) in Powershell scripts that will be used in scheduled tasks could be very useful to automatize important tasks in test/development/production environments. Let’s see how to do this. Read More …

Clear Event Logs with Powershell (Microsoft Windows)

Let’s see how to quickly clear all available Event Logs on modern Windows clients and servers (this is usually useful on test systems and for troubleshooting, sometimes, but after a backup of all Event Logs). Read More …

Check Windows Services statuses using Powershell

PowerShell is a great and essential “scripting” (the scripting is just one of the many things this language can do) tool. It not only helps save you time, it also provides greater flexibility to execute repeated tasks manually or via scheduled tasks. Almost all Windows roles and features ship with PowerShell cmdlets. Once of the most common tasks, specially on server machines, is to check regularly the status of a specific service. Read More …