In this lab, you will learn how to create an Azure Active Directory user id(s) using Azure Powershell. Requirements:
User should be part of Global Administration or User Administration Role.
Create AAD User(s) using Powershell:
Creation of user accounts using PowerShell on your local machine requires the following. However, you can also use Azure Powershell in Cloudshell step 1 is not required. 1) Azure Active Directory PowerShell Modules, here is the command that is required to install AAD PowerShell modules on your machine. $AzureAdCred = Get-Credential Connect-AzureAD -Credential $AzureAdCred Install-Module AzureAD 2)Authentication to Azure Active Directory. Once installation of AAD PS modules is done run the following command for authentication.
If you had already created a Virtual Machine in Azure, you
might be aware that Azure Marketplace Images are used to deploy OS
(Windows/Linux). What if you need custom Images (Templates in VMware World) with tools and applications that your Organization or Department
use. Below are steps to create a Custom Image in Azure:
Spin up Virtual Machine using Azure Market Place Image.
Install all the latest patches and service packs (Most of the time it is up to date)
Install all the required Applications and Application Patches.
Harden the server.
Run Sysprep with Generalized and Shutdown the machine.
Convert prepared VM into an image by using the Capture option.
Though we allocate an estimated/expected size of disk for both System Drive or Data drive, we do get into situations where we need to expand the disks. In this article let us look at how to expand disk on Windows Machine.
To expand/reduce a disk VM should be in Stopped(deallocated) state.
When we provision a Windows machine on Azure the default size allocated to System Drive (C drive) is 127 GB. Azure not allow a reduction of system volume size below 127 GB. Below is the error you see when you try to reduce the System volume size below 127 GB.