How to get details of Azure Cloud Services

Follow couple of steps below to get the details of the cloud services

  1. Login to Azure using Login-AzureRmAccount. This will prompt you for a two factor Auth.
  2. Change the subscription context using  below command

    $subid = subscriptionid

    Set-AzureRmContext -SubscriptionId $subid

  3. Find cloud service details with below info

    Get-AzureService| Select ServiceName,Status,Url,VirtualMachineRoleSizes,WebWorkerRoleSizes,Label,Location,DateCreated,DateModified,Description

  4. How to get the details about each service

    $cloudService = “CloudServiceName”

    Get-AzureDeployment -ServiceName $cloudService -Slot $slot

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s