Powershell – Test URL “ping” from command line

The following scenario could be useful for those that need to regularly monitor the response type of specifc URL or URLs; this can be done quite easily by using Powershell. The approach can be easily integrated in functions and automated/scheduled scripts to get a periodic status of the URLs monitored. Read More …

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 …

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 …

Securing RDP Connections using TLS certificates

Remote Desktop has been the must as remote administration tool for many IT professionals and sadly many even expose it to the internet leading to brutefoce attacks and Man in the Middle attacks in the past (and even during this period). Using TLS certificates can improve the security and the default access method to critical systems, even if those systems are reached only on internal business LAN environments. Read More …