Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Environmental preparation of Windows Azure PowerShell

2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

PowerShell can implement all the Azure management functions, Powershell can do what can be done on Portal, and PowerShell can do things that Portal cannot do, such as creating a series of DS virtual machines.

This paper first introduces the environmental preparation of Windows Azure PowerShell.

1. Download and install Windows Azure PowerShell: http://www.windowsazure.cn/zh-cn/downloads/#cmd-line-tools from the official website

two。 After installation, run as administrator. Right-click the PowerShell icon and select run as administrator.

3. Set the execution policy. As a security test, PowerShell's execution policy defines the conditions under which scripts and files can be executed. For example, you can specify that only signed scripts are allowed to avoid running * * scripts incorrectly. The Windows Azure Powershell command set requires the execution policy to be RemoteSigned, Unrestricted, or Bypass. To set the execution policy, run Windows AzurePowershell as an administrator, and then set it through the Set-ExecutionPolicy command, as shown in the following figure.

4. Execute the command Get-AzurePublishSettingsFile-Environment "AzureChinaCloud". After executing the command, you will open the azure page. Enter your user name and password and log in to azure to download your Windows Azure Subscription release configuration file.

Download release profile

5. Execute Import-AzurePublishSettingsFile "release profile local storage path" in PowerShell

At this point, the environment is ready to complete.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 280

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report