How to use Vim editor in PowerShell
If you are familiar with Linux or come from a Unix background, you probably know about Vim. For those of us that started and stay mostly in the realm of Windows however; I Let we
How to create new DNS in Azure Private DNS using PowerShell
You have a more number of options when it comes to resolving names using DNS. Microsoft Azure DNS is one of such option. In this post, we will discuss How to create new DNS in
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
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