Menu

Virtual Geek

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

Blog posts : "microsoft"

Microsoft Azure Virtual WAN Part 3.1 - Create secured virtual hub inside Azure Firewall Manager

Although I had shown how to create Virtual Hub under VWAN and convert it to secured hub in my earlier article. Still there is another way to create secured hub with different steps using Azure Firewall Manager. Azure Firewall Manager is a security management and administration service that offers…

Read more

Microsoft Azure Virtual WAN Part 3 - Create and convert to secured virtual hub inside VWAN

A virtual hub is a Microsoft-managed virtual network. The hub includes different service endpoints to enable connectivity from your on-premises network (vpnsite). It is aa Microsoft-managed virtual network that allows and enables connectivity from other resource services. When a virtual hub is creat…

Read more

Part 2 Create a Virtual WAN (VWAN) on Azure Portal

In this second article series of the Azure Virtual WAN (VWAN), I am deploying actual Virtual WAN. Azure Virtual WAN is a networking service that offers enhanced, optimized and automated branch-to-branch connectivity across Azure. Virtual WAN lets you link up, connect and configure office, branch dev…

Read more

10 Useful Tips to Save Money as an Azure User

The demand for cloud-based storage solutions is high, and some people are constantly looking for ways they can take care of data-related problems. For example, someone might have concerns about their file safety and are interested in creating a backup. 

Or, they might read a blog post about stor…

Read more

Powershell Animation ANSI FileInfo color support for ANSI escape sequences | ASCII Art

Microsoft has released a new version of PowerShell 7.2. After installation of latest Microsoft PowerShell I was reading release notes and what's new document on https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-72?view=powershell-7.2. While reading, there is a…

Read more

Microsoft Azure Virtual WAN Part 1 - Create Virtual Network and subnets

Recently I had assigned a project and had to do the POC of deployment and configuration of Azure VWAN (Virtual WAN) with Secured hubs providing network connection between Virtual Machine situated in different region locations. Azure Virtual WAN is a managed networking service which brings together …

Read more

Host static website on Azure Storage Account

Microsoft Azure Storage Account blob can be used as serverless web server to host static website pages, Static website content includes files pages from HTML, CSS, JavaScript and image files. Website files and data is stored on Storage Account special container named $web. This enables and gives …

Read more

Resolved PowerShell Visual studio code stuck with 'Starting up PowerShell' in status bar

On one of the my colleagues new laptop we were setting up Visual Studio Code environment. After installing Microsoft PowerShell extension on VSCode when executing PowerShell ps1 script, it was getting stuck/freeze/hang with message "Starting up PowerShell" at the bottom-right side, and it was showin…

Read more

How to create a Storage Account in Microsoft Azure

Microsoft Azure Storage Account is a Microsoft-controlled resource/service offering cloud storage that is highly accessible, available, reliable, secure, durable, robust, scalable, and redundant. Microsoft  Azure Storage Account consist of Azure Blobs (objects), Azure Data Lake Storage Gen2, Azure F…

Read more

PowerShell fix repair The trust relationship between this workstation and the primary domain failed

This is the issue I have always seen with Windows Server Administrator. They face below issue a lot in their day to day activities while logging with their domain account. When they login with local account it was successful. The cause of this issue is simple, whenever computer joins into domain the…

Read more

Powershell Create new file if not exist, if exist Rename file

This small PowerShell script helps to create a new file inside the folder if file does not exist, if file exists rename it with the date and times. This logic I always use in my scripts when I want to implement logs system for my script. When the file is renamed (While creating new file) it adds dat…

Read more

PowerShell Encode or Decode an WebURL

While working few web scrapping project, I was able to get the table data, but few of the data had few special characters in the table, which was in http encoded format. Related article is a Powershell web scrapping extract table from html. The encoded http data was not readable. This data can be …

Read more

Resolved - Install RSAT Tools on Windows Installer encountered an error 0x8024001d

While working on few Active Directory automation tasks I wanted RSAT tools to be installed on one of the VDI to test and write few scripts. From https://www.microsoft.com/en-in/download/details.aspx?id=45520 I downloaded installation files.

Microsoft Powershell windowsth rsat tools windos 2h2 remote server administration tools for windows 10 download powershell module server administration.png

While installation I was keep receiving this error…

Read more

Configure a Azure VM with Desired State Configuration in Automation Account

While working on one of the Azure Automation Accounts project I had to test and provide a demo of Desired State Configuration (DSC) on the Azure Virtual Machine, how it can be useful. There was a client requirment to not to use Group Policy for hardening, but the configuration must be done through D…

Read more

Writing and Using Terraform modules

This is a small example of Terraform module how to write and use it. A Terraform module is a folder/container for multiple resources that are used together. Every Terraform configuration has at least one module, known as its root module, which consists of the resources defined in the terraform .tf f…

Read more

Why is my Azure recovery services vault not getting deleted?

While working on Azure Portal Get Azure virtual machine backup reports using Powershell I was trying to decommision few Azure Recovery Service Vault (Backup) resource by deleteing it, I went to Azure portal selected Recovery Service Vault from Resource Group and pressed delete button, but I was rec…

Read more

Azure Powershell : Operation returned an invalid status code 'BadRequest'

While working on few Azure Powershell scripts I was keep receiving an error 'BadRequest' whenever I was trying to create a new resource in Azure. I kept on trying to resolve an error but didn't find any proper solution to it. Initially the message was not much friendly so to dig down further I went …

Read more

Create Azure Key Vault Certificates on Azure Portal and Powershell

I had one requirement to create a SSL certificates on Azure Key Vault, I have Key Vault already deployed with earlier written articles Create key vault and secrets with access policies in Microsoft Azure. I just wanted to create new SSL certificate in it so using managed Identity In the the future…

Read more

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

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

20 blog posts

Blog Search

Page Views

6332074

Follow me on Blogarama