Skip to main content

Azure - How to create resource group

Azure home -> Select Resource group

 Subscription is user payment method configured

Give name for resource group - Meaningful name with project name

Region - nearest region to your location

Note: there is option called CDN for you to make your resources available across different regions  

select review and create

Comments

Popular posts from this blog

Kendo dropdown list tamplate to disable selected items inside

Disabled few selected items inside dropdown list based on model data Model return object list and By using template do the disable and on click false for selected items @(Html.Kendo().DropDownList()     .Name("DateRange")     .DataTextField("RangeNameDefault")     .DataValueField("ID")     .BindTo(Model.dashboardDateRangeList)     .HtmlAttributes(new { style = "width: 100%" })     .Events(e => e.Change("DateRangeChange"))     .Template(      "<span class=\"#: !data.IsDataReady ? 'k-state-disabled': ''#\" onclick=\"#: !data.IsDataReady ? 'return false': ''#\"> #: data.RangeNameDefault #</span>"))

how to check powershell version

 Run powershell as administrator      Run below command $PSVersionTable.PSVersion  

Suspend vSphere VMs with VMware PowerCLI

invoke-command -scriptblock { #using script block to bypass Execution Policy massage #install VMware.PowerCLI follow below steps #run powershell as admin #run the command to intall #Install-Module -Name VMware.PowerCLI #Install-Module VMware.PowerCLI -Scope CurrentUser #Set-executionpolicy remotesign #Import-Module VMware.PowerCLI #Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false #now install steps over restart powershell #To disable this warning and set your preference use the following command and restart PowerShell Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true -Confirm:$false #Connect to vCenter $Server = Connect-VIServer -Server 192.168.12.97 -User xxx@vsphere.local -Password xxxxxxxxxx #Gets the list of all Hosts in a specific folder $vmHosts = Get-VMHost -Location Singapore Foreach($vmHost in $vmHosts) { $vmHost.name $vms = Get-vmhost -name $vmHost.name | Get-VM | where { $_.PowerState -eq "PoweredOn"} Fo...