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 …
Blog posts : "microsoft"
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…
Importing existing resources into Terraform - Step by Step
When working on already created existing Azure from portal or other scripting tool then managing it using terraform tool can be little bit tedious. I encountered in a situation while working on one of my client's Azure infrastructure, I needed to modify/update existing resources. Here is the view of…
Deploy Native SFTP (Secure FTP) in Storage Account | Microsoft Azure
I was working with a software product based startup client, They wanted to have SFTP server where their customer will upload logs. Here they didn't want to host a FTP solution On-Prem or in Virtual Machine. For this design, we chose PAAS service available on Microsoft Azure Cloud. There is a option …
Building basic simple Web Server using PowerShell
While writing few solutions for html code I wanted to test basic html web pages, which I required to check with web server, here PowerShell can be handy to create simple and basic web server to serve html web page for testing purpose.
Download this code basic_webserver_httplistener.ps1 here…
Blog Search
Page Views
12383592
Archive
- December 2024 (1)
- November 2024 (2)
- October 2024 (7)
- September 2024 (12)
- August 2024 (22)
- July 2024 (11)
- June 2024 (1)
- May 2024 (3)
- April 2024 (5)
- November 2023 (1)
Comments
-
DanDecember 22, 2024 10:49PM
-
ChriSDecember 1, 2024 05:27PM
-
GoranshOctober 19, 2024 10:32AM
-
NeoModJuly 30, 2024 11:14PM
-
RogerJuly 22, 2024 10:13PM