While working with Azure Key Vault Certificate Create Azure Key Vault Certificates on Azure Portal and Powershell, Next requirement was to download those certificates from Key Vault. On the Azure Portal choose the SSL Certificate you want to export. Click buttons Download in CER format or Download…
Blog posts : "powershell"
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…
Solved Powershell DSC Error A configuration is pending If you are in Pull Mode please runn Update-DscConfiguration
While working on few Powershell DSC (Desired State Configuration) script and pushing it on remote computer using Start-DscConfiguration command, but I was constantly receiving below error.
A configuration is pending. If you are in Pull mode, please run Update-DscConfiguration to pull a new co…
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…
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 …
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 …
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…
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.
To work on Azure Reservations with Power…
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…
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…
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…
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 f…
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 …
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 …
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 Powe…
Use Key Vault secret identifier url to get the secret value using Powershell
While working on Azure Key Vault I had the requirment to extract the secret value from Azure key vault Secret Identifier ID.
Working With Azure Key Vault Using Azure PowerShell and AzureCLI
You can find Secret Identifier by going to Azure Key vaults, select key vault >> Secrets Name >> Curr…
Working With Azure Key Vault Using Azure PowerShell and AzureCLI
This is second part of Create key vault and secrets with access policies in Microsoft Azure, In the this article I will use Powershell and Azure CLI to create and configure Azure Key Vault resource service. Azure Key Vault is a cloud service that provides a secure store for secrets. You can secure…
Create key vault and secrets with access policies in Microsoft Azure
Azure Key Vault is a cloud service used to manage keys, secrets, and certificates. Key Vault eliminates the need for developers to store security information in their code. It allows you to centralize the storage of your application secrets which greatly reduces the chances that secrets may be leake…
Creating a new user in Azure AD using oneliner PowerShell and Azure CLI
I was testing few Labs on Microsoft Azure active directory and wanted to create few Azure AD users for testing purpose. I have already installed az powershell module, In the below script when you supply password it has to be in securestring format.
How to switch to other Azure AD tenant using PowerShell and Azure CLI
This is small guide shows how you can switch or change Azure Active Directory tenant using Powershell and Azure CLI. Before The first step I will show from portal how to switch or change to another domain in Azure active directory. Once you login into portal.azure.com either go into menu and select
Blog Search
Page Views
9332408
Archive
- March 2023 (7)
- February 2023 (1)
- January 2023 (1)
- December 2022 (10)
- November 2022 (15)
- October 2022 (15)
- September 2022 (14)
- March 2022 (8)
- December 2021 (9)
- November 2021 (6)
Comments
-
Steven RicksMarch 24, 2023 09:49PM
-
RubiMarch 20, 2023 02:37PM
-
NoneMarch 16, 2023 05:38PM
-
AnonymousMarch 6, 2023 09:46PM
-
SJFebruary 27, 2023 10:39AM