Menu

Virtual Geek

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

Blog posts May 2021

Get Azure virtual machine backup reports using Powershell

I found my junior colleague are gathering Azure virtual machines backup report manually so I thought to write and pull Azure Virtual Machine Backup (Recovery services vault) report including Backup status and Summary using Microsoft PowerShell script to ease the task.

To check the current backup…

Read more

Logging and Working on BitBucket using Git SSH url

This is step by step guide to configuration bitbucket with SCM GIT.exe. I wanted to clone remote BitBucket code repository from server to the local system for script code update/changes and push the changes. The first task is to grab bitbucket repository url, loggin to bitbucket and  click on the …

Read more

Get the list Azure Reservation Catalog with PowerShell and AzureCLI

I wanted to design Azure Reservations solution, before desinging the solution I wanted to fetch Reservations catalog list (SKUs) available in the specified subscription for a location, so I can create a presentation and pitch to client which available reserved virtual machine we can use. This below …

Read more

VMware PowerCLI The remote server returned an error: (407) Proxy Authentication Required

"The remote server returned an error: (407) Proxy Authentication" - This is another issue I faced when working with VMware PowerCLI, Although I had already resolved another error in VMware PowerCLI Connect-VIserver Could not connect using the requested protocol, Only the difference was it was not …

Read more

VMware PowerCLI Connect-VIserver Could not connect using the requested protocol

While working on one of the client systems, I freshly installed PowerCLI module and while connecting to VMware vCenter server I was receiving below error.

Another Error: VMware PowerCLI The remote server returned an error: (407) Proxy Authentication Required

Connect-VIServer :  6/05/2021 3:…

Read more

Powershell get the list of Azure Reservations Virtual Machines instances

As I was working on the Azure Reservations - PowerShell List All Azure Resverations. There was another requirement to provide the list of Virtual Machines usage under Azure Reservations by clients (which VMs are utilized under reservations), earlier another team was doing it manually to get the r…

Read more

PowerShell List All Azure Resverations

Recently in one of the Azure project my client was utilizing Azure Reservations Instances (Azure RI) they wanted a Microsoft PowerShell script from me to pull the list report. Below is the screenshot of all configured reservations on the Azure Portal.

Microsoft Azure reservations All succeded scope subscription VM RI Virtual Machine Powershell az.reservations module subscription cost optimization.png

To work on Azure Reservations with Power…

Read more

Configure vCenter 7 Profile from PowerShell GUI

While working on POC of new feature VMware vCenter Server 7 Profiles, as there is no GUI available to configure it. At the moment of writing it can be only consumed and configured with Rest APIs. Although Rest API can be configured from vCenter Server developer center > API explorer, but it is not…

Read more

VMware vCenter Server 7 Profiles with PowerShell

There is new feature introduced with VMware vSphere 7.0 and it is completely different from the ESXi host profiles. vCenter Server 7 Profiles feature allows you to list profiles, export vCenter server configuration from one vCenter server and then import and validate on another destination vCenter S…

Read more

VMware vCenter server backup error Path not exported by the remote filesystem

Check article for more details on: ​Backup VMware vCenter server using SMB protocol

While testing and working on creating backup schedule on VMware vCenter server appliance vami portal (Port 5480), I was receiving below error, whenever I was pressing Create button. Input which I typed Backup…

Read more

Get started and configure certificate-based authentication in Azure

Connecting SSL certificate based login to Azure can help increased authentication security, if you maintain certificates very well. In my case I wrote few scripts and I wanted to automate  Azure. As my user account is configured with MFA (My scripts scheduling was failing due to this) and I didn't w…

Read more

11 blog posts

Blog Search

Page Views

11240028

Follow me on Blogarama