This is a step by step procedure updating vCenter Server Appliance (VCSA) using VAMI portal. Before making update to vCenter server make sure you properly backup vCenter server using article Backup VMware vCenter server using SMB protocol. As I am testing update in DEV environment I have taken a s…
Some times it is essentials to convert your codes to EXE. In my scenario when I try to provide script to end users and if I expect them not to modify the script before running or executing it, I can convert any cmd bat or PS1 script to EXE easily using native windows tool called iExpress.exe, and ex…
While working with Git clone I was receiving fatal: Authentication failed and Missing or invalid credentials error. This happens due to missing password or it is not mentioned.
This script helps to get last installed patches, updates with dates, Server/System Last boot Uptime and C drive disk space information. This script was asked by one of the my SCCM team to troubleshoot in case if patches/updates installation are failing.
I was working with one of my client on a automation solution with PowerShell for Exchange Online. I wanted to write a PowerShell script to add secondary alias email addresses to Distribution Groups in Exchange online Office 365.
Base of the script is Set-DistributionGroup cmdlet which does all …
I was building nested VMware vSphere lab for POCs. While configuration I was facing strange issue after installing nested ESXi server as virtual machine on Physical ESXi Server, I created Few VMs and VMKernel ports on nested ESXi VM. But when I was trying to connect VMs or new VMKernel port it was f…
After upgrading Ansible Azure plugin module, while running my old ansible scripts against Azure resources to change or get information I was receiving error of TypeError: deprecated() got an unexpected keyword argument. (My credentials are stored in the file location of vim ~/.azure/credentials)
This script is a another part of Upgrade vCenter Server Appliance (VCSA) with VMware PowerCLI. In this article I am using Rest API calls to update VCSA via VAMI. At the moment I am able to stage the updates, but installation of update to vCenter is not working. Once I get solution I will revise thi…
This is a second alternative script to VMware PowerCLI Clone and Deploy VM from template in vCenter. In earlier article I did customization of newly cloned Virtual Machine using Windows PowerShell commands which I executed using Invoke-VMscript. Here in this script I used inbuilt customization pro…
This VMware PowerCLI helps cloning and deploying Virtual Machine from template in vCenter Server. I had to write OS customization for Windows 2019 server because due to some reason native customization profile was failing. Here in this script there are 3 files in the script package, first file is
This script helps to find files and folders on Azure Storage Accounts blobs and containers.
There are two PowerShell variables I have mentioned, First Variable is $searchFile use file extension or names you want to search. Report are generated in file path mentioned under variable $exportCsv.
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…
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.
Jenkins is the the top and leading open source automation server, It offers hundreds of plugins to help building (develop), deploying and automating any project. It is a great orchestration tool for automation. In this article I will use it to schedule a simple Job for PowerShell script using Git.
I have written this article to understand how email can be sent using System.Net.Mail.MailMessage .net object with PowerShell. Below is the complete documentation regarding this object https://learn.microsoft.com/en-us/dotnet/api/system.net.mail.mailmessage?view=net-7.0. Although you can use simp…
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…
This is step by step in the detailed installation guide of Ansible AWX operator (Automation controller Tower). On this channel earlier I had written 2 articles on how to install Ansible AWX operator but they are no longer valid as the installation instruction has been changed. For any new changes yo…
While installing Ansible AWX operator tower (Automation Controller) for the development team, I was receiving the below error. I was following the official installation guide given from https://github.com/ansible/awx-operator.