Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts February 2021

Microsoft Azure Rest API using PowerShell Part 2

While working on Microsoft Azure Rest API using PowerShell script, there is prerequisite to create a service principal (App Registration) first and use its client id and secrets in headers to generate bearer token key. But I was looking to use my existing username and password as credentials. For …

Read more

Microsoft Azure Rest API using PowerShell

Using Microsoft Azure REST API is great way to automate Azure Resources and operations. Some times I have found PowerShell Az module is not present on remote servers and I need to automate azure things, Rest API is very handy at the time when features which are not available on PowerShell module AZ.…

Read more

VCSA Upgrade Error A problem occurred while getting data from the source vCenter Server

While upgrading one of my vCSA (vCenter Server) to newer version VCSA 7, while connecting to source appliance I was receiving error A problem occurred while getting data from the source vCenter server

Vcenter server installer upgrade stage 1 deploy vCenter Server connect to source appliance sso user name sso password appliance vcsa os root password https port a problem occurred while getting data.png

This is typical issue of expired root password. due to this vCenter is unable to rotate t…

Read more

Connect-AzAccount The 'Connect-AzAccount' command was found in the module 'Az.Accounts', but the module could not be loaded

While connecting to Azure using powershell with Connect-AzAccount cmdlet I was receiving below error. As troubleshooting steps I tried to update/install Az module from online Microsoft PowerShell repository with -Force and -AllowClobber parameters, tried to Import Module Az, Az.Accounts on PowerShe…

Read more

Powershell WPF MahApps.Metro update theme library

This script is just an update to new dll libraries of MahApps.Metro theme for Powershell WPF. I had already written basics of  Part 3: Powershell wpf MahApps.Metro theme step by step guide but, It is almost 2 years back and I was using MahApps.Metro 1.6 version and new version of MahApps.Metro v2…

Read more

Create and manage Azure budgets

Whenever I assign permissions on new Azure Subscription to new colleage groups I always create either new Azure budget or manage existing budget alert group to receive necessory subscription cost spending communications. After creating or managing budget I can ensure users are informed of the subscr…

Read more

Guide to building a Home Lab

Recently I purchased one laptop as an addition to home lab and for personal use. Over the period slowly I have increased systems in my Home Lab, Now even though if I buy systems with smaller hardware it works great as an overall addition. And in my lab I can run any setup ie vmware, windows, contain…

Read more

Reset Ansible AWX Tower admin password

While working on one of the project I came accross a Ansible AWX server where 'admin' password as missing, and I wanted to reset forgotten awx password, the steps given here will also work on RedHat Ansible Tower. In my case AWX is containerised and installed on docker, and I will run highlighted co…

Read more

Ansible AWX Tower create Manual SCM (Source Control Credential Type) project

I had a instance where I wanted to test Manual SCM (Source Control Credential Type) project on new Project on Ansible AWX tower instead of git repository. While creating a new project when choosing Manual from the Source Control Credential Type (SCM), I was receiving below error.

Getting started …

Read more

9 blog posts

Blog Search

Page Views

11240327

Follow me on Blogarama