Azure KeyVault Set and Retrieve Secrets using Powershell
What is Key Vault? Azure Key Vault is a cloud service that works as a secure secrets store. You can securely store keys, passwords, certificates, and other secrets. In this example, I am going to
Quickly extracting all links from a web page using the PowerShell
We are maintaining 500+ client websites in our environment. Some day before we received a request to get the list of links/Images used on each home page. We knew that it will be very tricky
Run BAT File From PowerShell Script
To Run BAT File from PowerShell Script, you can run it manually from the PowerShell (or make the PowerShell execution in the windows scheduler run at a certain time). A batch file is a series
How to Convert YAML to JSON / JSON to YAML using PowerShell
A few days back my team member asked, Is there an easy way to convert YAML to JSON and JSON to YAML using scripts? As expected, my answer was: Yes, with PowerShell! In some scenarios
Passing Local Variables to Remote PowerShell session
While working with automation in remote computers using PowerShell, you'll come across many scenarios where you may want to use local variables or input data in a remote session. But when you try to use
How to remotely get computer CPU and memory usage
Requirement: One of my clients requested to check the status of the CPU utilization and Memory usage before starting the deployment. If any utilization is beyond the threshold (by taking the N samples of utilization
Downloading a file with PowerShell
Scenario: We got a requirement to download the Excel files on a daily basis from the webpage and need to process the same automatically (window scheduled jobs) and share the report with my supervisors. If
Where to use the –replace operator and Replace() method & its difference
In this post, you’re going to learn where to use the PowerShell replace() method and PowerShell replace operator. The tutorial will cover the basics and even drive into some regular expressions. .Replace is a .NET