After publishing a project Create an interactive HTML report with PowerShell data, few people gave me feedback, They implemented this and found it very useful that it shows the serial number of server/desktop hardware parts without opening the system and doesn't require downtime, All happens remotel…
Blog posts : "microsoft"
Create multiple Azure vnet (Virtual Network) using ansible
This is a second part of Deploy create Virtual Network vNET in Azure cloud using Ansible, in this part I am creating multiple vNets with single Ansible script. All the info and details related to new vNet added in separate vnet variable yml file in json format as shown below.
Next in below …
Send system disk space utilization HTML report Email using PowerShell
This script generates system disk drive usage HTML reports using PowerShell. This is very handy for sending weekly or daily reports of servers in html or host it on web server for monitoring. In my case VDI team contacted me for creating a system Disk HTML reports for VDI and sending them to concern…
Using Ansible to Manage Windows Servers initial setup – Step by Step
In this article I will be configuring and connecting Ansible server and Windows host for Microsoft Windows system configuration management. First prepare Ansible host by installing ansible.windows collection with ansible-galaxy command. Next install pywinrm and python3-winrm Python packages with …
Find and use Azure Marketplace VM images with Azure Az CLI
There is another way to Find and use Azure Marketplace VM images with Azure PowerShell. You can do the same task to fetch Azure VM information using is az cli. There are two common images UbuntuServer and MicrosoftWindowsServer. Here I will work with Ubuntu images to get information from az cli co…
Find and use Azure Marketplace VM images with Azure PowerShell
You can use this write up to find Azure Virtual Machine images available on the Azure Marketplace using PowerShell Module Az (Azure) commands. Before proceeding you need to know a few jargon vocabulary related to Azure cloud VM Images. You can use below properties to find VM templates on Azure cloud…
Create and capture Microsoft Windows server Sysprep template image
I had a project where I wanted to deliver few Microsoft Windows images to the customer. After several meeting they wanted this templates to sysprep 'ed.
What is Sysprep?
Sysprep is a tool/utility provided by Microsoft (System Preparation) that makes a Windows client or Windows Server prepa…
Terraform VMware vSphere Virtual Machine customization clone failed on Windows
While doing project on Terraform with VMware vSphere: Terraform module clone VMware vSphere Linux and Windows virtual machine, I was receiving below error while deployment. VM was getting deployed but VM customization was running into error and failing.
│ Error:
│ Virtual machine customiza…
Azure add create a Subnet to existing Virtual Network using PowerShell
This is second part of the earlier written article Create a Azure Virtual Network with Subnet using PowerShell. Here in this blog I will create subnet in already created Azure vNET (Virtual Network). I have defined Azure vNET and subnets in Powershell variables. I am creating a Azure vNET without a…
Remove Azure Virtual Network Subnet using PowerShell
This PowerShell script will help you to remove subnet from Microsoft Azure Virtual Network (vNET). You can follow my earlier articles regarding the another topic related to Azure networking here on Azure add create a Subnet to existing Virtual Network using PowerShell and Create a Azure Virtual…
Ansible authenticate to Microsoft Azure using credential inside yaml file
Ansible authenticate to Microsoft Azure using credential profiles Part 1
Ansible authenticate to Microsoft Azure using credential profiles Part 2
This is continuation of the authentication to azure with ansible parts. While working on Ansible AWX tower controller, I wanted to create profile, bu…
Ansible authenticate to Microsoft Azure using credential profiles Part 2
This part is continuation of Ansible authenticate to Microsoft Azure using credential profiles Part 1. Earlier I used automatic variables to use profile while executing ansible yaml script. But it is sometimes very inefficient, So inside the Ansible azure yaml code you can use profile parameter as…
Ansible authenticate to Microsoft Azure using credential profiles Part 1
My earlier article Quickstart How to authenticate Ansible with Microsoft Azure was for basic and foundation for authentication to azure using Ansible. But I have scenarios with multiple subscriptions to automate multiple azure clouds using Ansible, in that case I will make use of multiple credentia…
Quickstart How to authenticate Ansible with Microsoft Azure
This article is first part of Deploy create Virtual Network vNET in Azure cloud using Ansible Here I am going to show multiple ways to authenticate Ansible with Microsoft Azure cloud. Very first method is very simple using azure az cli. Make sure you have installed azure cli application on linux wh…
Create a Azure Virtual Network with Subnet using PowerShell
Azure VNet (Virtual Network) is the essential element for your private network in the Azure Cloud. Virtual Network allows various kinds of Azure resources, such as Azure Virtual Machines (VM), to securely connect with each other, the internet, and on-premises networks. In this article I will be crea…
Deploy create Virtual Network vNET in Azure cloud using Ansible
This is ansible code example for deploying creating vNET (Virtual Network) on Microsoft Azure cloud. This is working basic ansible yaml/yaml script.
Below example shows how it is deployed using ansible-playbook command from the linux using ansible-playbook command.
Download this script here …
Azure PowerShell Get-AzStorageShare Could not get the storage context
While working with Azure Storage Account Shares report, while running below Azure az PowerShell command to get shares list, it was throwing error.
Get-AzStorageShare -Name testbackup
Get-AzStorageShare: could not get the storage context. Please pass in a storage context or set the current stor…
Install the Microsoft Azure CLI on Ubuntu Linux
While working on one of the client's project I wanted to install and use Microsoft Azure-cli to manage Azure cloud on ubuntu (Get Started: Configure Ansible for Azure Cloud Infrastructure). This is step by step guide, First step I am updating and upgrading ubuntu system using apt-get.
vj…
Get Started: Configure Ansible for Azure Cloud Infrastructure
This is second part of How to install and configure Ansible on Ubuntu, where I will be installing and configuring Microsoft Azure modules to use it with ansible for Microsoft Azure cloud infrastructure automation. I have python-pip3 is already installed, The next instructions is to install ansible[…
Importing already created module Infrastructure into Terraform and update state file
This is a second part of Importing existing resources into Terraform - Step by Step, in earlier article I imported resource mentioned in tf file, here in this article I will be importing existing module resources and update tfstate file. Below are the module structure of my resources in the terrafo…
Blog Search
Page Views
12690947
Archive
- April 2025 (3)
- February 2025 (1)
- December 2024 (1)
- November 2024 (2)
- October 2024 (7)
- September 2024 (12)
- August 2024 (22)
- July 2024 (11)
- June 2024 (1)
- May 2024 (3)
Comments
-
AzraelJanuary 28, 2025 01:28AM
-
raghavendraJanuary 16, 2025 02:13PM
-
jose antonioJanuary 11, 2025 09:53PM
-
DanDecember 22, 2024 10:49PM
-
ChriSDecember 1, 2024 05:27PM