How to run PowerShell Script from a Batch File
What is a .bat file? A batch file is a text file that the Windows cmd.exe command line processor executes as a batch job. It
How to pass values between Tasks in a Pipeline using task.setvariable Command
Problem ? Azure DevOps pipeline is a set of Tasks which can perform a specific task and these tasks will run inside a Agent Machine
Export CSV file with Array values using Powershell
One of the best and easiest ways to put data into an easy-to-read format is with a CSV (comma-separated values ) file. The CSV file
Rebuild index to reduce Fragmentation in SQL Server
Here we will learn how to identify and resolve by Rebuild index to reduce Fragmentation in SQL Server. Index fragmentation identification and index maintenance are
How to Continue Azure Pipeline on failed task
Introduction Sometimes failing scripts are not failing the task when they should. And sometimes a failing command should not fail the task. How to handle
How to Enable additional logs in Azure pipeline execution
One of the most important aspects in the Azure DevOps life cycle Pipeline development is to have tools and techniques in place to find out
How to Create a Container in Azure Storage Account using PowerShell
In one of my automation, I need to store the reports on daily basis in Azure storage account in automated way so i need to
Understanding the directory structure created by Azure DevOps tasks
If you are beginner in Azure DevOps, understanding of when & which folders are created and populated by the pipeline tasks, this is one of
Variable Substitution in Config using YAML DevOps pipeline
As DevOps Engineer, you are responsible for to develop the Azure DevOps pipelines which should replace these values (DEV/TEST/PREPROD/PROD) based on the environment. However, the
Add Tags On An AZURE SQL DATABASE Using PowerShell
As as system admin/DevOps guys, usually during audit time we need to complete the finding (by make the grouping to filter) in faster manner instead
Powershell Error handling with $ERROR Variable
In all programming, the code will have errors, and troubleshooting those problems will be difficult. Like another programming language, PowerShell has error handling mechanisms for
How to Create and Use PowerShell Modules
What is Module in PowerShell? As per docs.microsoft.com, A module is a package that contains PowerShell members, such as cmdlets, providers, functions, workflows, variables, and
How to Check SSL Certificate Expiration Date in PowerShell
SSL ( Secure Sockets Layer) is a digital certificate that provides an encrypted connection between server and client and authenticates a website identity. To keep
Import bulk Variables to Variable Group using Azure DevOps CLI
My Scenario: As as System Admin/DevOps engineer, maintaining the variable group is little tricky as its very difficult to maintain the history and changes. We
How to use the variable group at runtime in Azure YAML Pipeline
When & Where to use? We received the request that we would like to pass the variable group as a runtime parameter so that whenever
Bash Scripting – If Statement
The Bash Scripting is now a days mandatory language for most of the system admins/devops guys. so in upcoming articles we will shed light on
Using secrets from Azure Key Vault in a pipeline
You know as a best practice, DevOps guys need to ensure all the secrets need to be kept inside the Keyvalut instead of using directly
How to Find and delete duplicate Files Using PowerShell
Anyone who manages a file storage has to keep track of the size of files to ensure there is always enough free space. Documents, photos,
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
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