Install & Configure Azure Powershell


Outline

  • Install Windows Azure PowerShell
  • Connect to your subscription
  • View account and subscription details

Windows Azure PowerShell is provided with the Windows PowerShell module as part of the Windows Azure SDK.

In order to install Windows Azure PowerShell,

Visit this link http://www.windowsazure.com/en-us/manage/downloads/

2016-04-06_21-36-28

2016-04-06_21-35-24

Launch the web installer, click Install to start Windows Azure PowerShell’s installation and configuration.

2016-04-06_21-36-04

Web Platform Installer installs all dependencies for the Windows Azure PowerShell cmdlets.

 

2016-04-06_21-39-50

2016-04-06_21-44-36

Finish the installation.

2016-04-06_21-45-07

Connect to your subscription

We can import Windows Azure PowerShell module into your Windows PowerShell session using the following command.

After download and install Azure PowerShell, next step is establish a connection with your Windows Azure subscription.

In order to set up your Windows Azure subscription in your PowerShell, you have to import the PublishSettings file that contains your Windows Azure subscription’s unique information, such as the subscription ID, name, …

This information will be used by PowerShell to reach your Windows Azure environment.

2016-04-06_21-58-09

Automatically publishSettings file will be downloaded. PublishSettings contains your Windows Azure subscription.

Next step define your subscription information into Windows PowerShell.

2016-04-06_22-04-00

PowerShell will set your subscription as a default subscription.

View account and subscription details

You can add accounts by running Add-AzureAccount command.

To see the available accounts, type:

2016-04-06_22-53-55

For subscription details, type:

2016-04-06_22-55-49

Thanks & Goodluck

javafx

Database Operations in JavaFX

By Onur Baskirt / Apr 1, 2016 / 56 Comments
Before started this section, please check the first article and learn How to Start JAVAFX! http://www.swtestacademy.com/getting-started-with-javafx/ At first, part of JavaFX tutorial series, we created a sample JavaFX project, designed the draft version of the UI and set up an...
extentreports

How to Write Smart XPath Locators

By Onur Baskirt / Sep 24, 2017 / 5 Comments
Hi all, in this tutorial, I will describe you how to write smart and non-brittle XPath locators. When we write our test scripts, we generally prefer to use id, name, class, etc. these kinds of locators. However, sometimes we could not...
extentreports

How to Write Effective CSS Locators

By Onur Baskirt / Oct 1, 2017 / 0 Comments
Hi all, in this tutorial, I will describe you how to write effective CSS locators to interrogate web elements for your automation projects. As a rule of thumb, your interrogation strategy should be in below order: First try to use...
rest assured

REST API Testing with Rest Assured

By Onur Baskirt / Mar 8, 2016 / 32 Comments
Outline In this post, I will explain what is API and API testing, what is the difference between SOAP and REST services, and how to test REST APIs with Rest Assured Library. What is API? API stands for Application Programming...
javafx

Getting Started with JavaFX

By Onur Baskirt / Mar 25, 2016 / 0 Comments
When I started to work in my current position, one of my task is to do manual operations for campaign products  every week. After the second week, I thought that I have to automate this task using a GUI based...
extentreports

Selenium-1: Quick Start to Automation with Selenium WebDriver & JAVA & JUnit & Maven & IntelliJ

By Onur Baskirt / Sep 8, 2015 / 26 Comments
Outline Selenium Webdriver is the most popular open source web test automation framework across the wide range of browsers and platforms. In this tutorial, you will learn how to do web test automation with Selenium Webdriver and the related tools....
extentreports

Selenium-11: Execute JavaScript with JavascriptExecutor

By Onur Baskirt / Jan 27, 2016 / 15 Comments
Outline Sometimes we cannot handle some conditions or problems with Webdriver, web controls don't react well against selenium commands. In this kind of situations, we use Javascript. It is useful for custom synchronizations, hide or show the web elements, change...
page object model

Page Object Model with C#

By Ege Aksoz / Jun 18, 2017 / 8 Comments
In the previous tutorial, we’ve taken the initial steps and entered the world of automated testing. We also wrote our first automated test. From this point on, since we are not just going to write one test, we need to...
extentreports

How to Select a Date From DatePicker Using Selenium

By Onur Baskirt / Aug 13, 2016 / 6 Comments
When you need to automate a airway, hotel, or similar websites you need to deal with Datepickers and some times it is a little bit cumbersome to select a specific date on the Datepicker or calendar.  In this post, I...

Getting Started with RobotFramework on Windows

By Onur Baskirt / Apr 25, 2016 / 12 Comments
What is RobotFramework? RobotFramework is a GENERIC test automation framework for acceptance testing and acceptance test-driven development (ATTD). What it means that you can do web, mobile, desktop and other test automation activities with related test libraries. These libraries can...
By | 2017-10-22T02:32:27+00:00 April 7th, 2016|Azure, Continuous Integration|0 Comments

About the Author:

Onur Yazir
Onur YAZIR is a Senior Software Testing & Deployment Engineer 7+ years of experience. He has worked at Huawei, Ericsson, Teknosa as Software Test Engineer. After that, he worked as DevOps Engineer at London-based fintech company EFT Software. Now, he is a DevOps Engineer at Gulf News Dubai Office. You can find detailed information about him on his linked-in page.

Leave A Comment