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 …

What are Dot-Source scripts in Powershell?

Dot-sourcing is a concept in PowerShell that allows you to reference code defined in one script in a separate one. This is useful when you’re working on a project with multiple scripts and might have functions specified in one script(s) and the code to call those functions in another. Other than building a module, dot-sourcing is a good way to make that code in another script available to you.
Read More …

Python – Pandas – Using Dictionary to remap values in Dataframe

While working with data in Pandas, we perform a vast array of operations on the data to get the data in the desired form, before, for example, creating diagrams or passing to the visualization phase. One of these operations could be that we want to remap the values of a specific column in the Dataframe. This can be done in several ways. Read More …