Menu

Virtual Geek

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

Stuffs from real IT system ADMINISTRATORS world and my LAB

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 PowerShell, you require Az.Reservations module, if you don't installed on your system, you can download i…

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 that easy and user friendly to use it. So I thought on writing and giving graphical user inteface w…

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 Server. All the operations are done using REST APIs and at the moment of writing no GUI is available.…

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 Location and Backup Server credentials were correct.

Path not exported by the remote filesyst…

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 want to decrease the security by disabling multi factor authentication in any case.

In this sit…

Read more

How to view the service principal of a managed identity in the Azure portal, Powershell and AzureCLI

After enabling/deploying managed identity (service principal) on VMs, one of my junior colleague questioned me, where is service principal of managed identity is stored. Basically Service Principal (MSI) is a user account (Service Account ) and it is created under Azure Active Directory, but after few checks there was question again, where she can find same information under AAD now? For this, I p…

Read more

Use a Azure VM system assigned managed identity to access Azure Key Vault

While working one of the Azure project, I had a requirement to implement System Assigned Managed Identity to access Azure key vault secret programatically on Azure virtual machine inside the code without azure login. In my earlier written articles, to retrieve secret password from Azure Key Vault I was first logging in to Azure using username password, but I can bypass the Azure login to get Key v…

Read more

Create a Virtual machine on Microsoft Azure

Although I have written PART 9: CREATING AND MANAGING VIRTUAL MACHINE (VM) USING MICROSOFT AZURE RESOURCE MANAGER PORTAL but it is the old article now, afterwords there are many updates came while creating an Azure Virtual Machine. New Azure VM updates are still easier to understand and configure, To create a VM There are multiple OS choices but the most used are Microsoft Winodws and Linux. You c…

Read more

Create an Azure App registrations in Azure Active Directory using PowerShell & AzureCLI

This is step by step guide to configure App Registration on Azure Active Directory (AzureAD). This guide includes three ways to create App Registration using Azure Portal, PowerShell and AzureCLI. 

Azure Portal

Within Azure AD portal you will find the App registrations pane that provide the capability to produce registrations for applications and assign permissions accordingly. Microsoft p…

Read more

Connect-AzureAD: One or more errors occurred. Could not load type 'System.Security.Cryptography.SHA256Cng'

While working on AzureAD (Azure Active Directory) with PowerShell module I was received below errors and my scripts where failing. I updated AzureAD module with Update-Module command to latest one but it was still throwing errors. After few testing I checked PowerShell version, it was latest PowerShell Core version 7.1.3 and found AzureAD module is not compatible with it.

Microsoft azuread import-module system.security.cryptography.sha256Cng connect-Azuread $psversiontable psversion assembly system.core publickeytoken error occurred .png

❯ Import-…

Read more

View older posts »

Page Views

5120181

Thanks! Great post! Would you have any idea why it is not working for me? Here the full report:

https://github.com/MahApps/MahApps.Metro/discussions/4103

Hi,
firstly thank you for rather certain Information.
I have a small problem with certificate.
After I have completed request certificate is shown, but if I press F5 it disappears. I also can see these certificates on CA, but in IIS I cannot find them. Have you any idea?
Thanks
Kind regards,
Roman

Same issue with 6.7 and with 7.0u2... what's wrong at vmware for not solving this blocking issues since years?

Awesome, it worked for me

Thanks a lot. I was trying to install Docker and was having that problem. I spend almost 3 hours looking arround. Thanks, your solution solved my problem. so simple but efficient

Follow me on Blogarama