Tag: Portal

Azure VM Run Command Run PowerShell Script

How to Run Scripts in your Azure VM using Run Command

You can access your Azure IaaS virtual machine (VM) in multiple ways like SSH or RDP, depending on your operating system and configuration. However, if you have issues with the RDP or SSH network configuration, you need to have a way to troubleshoot your virtual machine (VM). Luckily Azure offers you different management tools to work with Azure VMs for automation or troubleshooting. With the Run Command can run a PowerShell or shell script within an Azure VM remotely by using the VM agent. This scenario is especially useful when you need to troubleshoot operating system network configurations or user access configuration. For example, it can be convenient to reset RDP configurations on Windows Server virtual machines.

You use Run Command for Azure VMs through the Azure portalREST API, Azure CLI, or PowerShell. Here are some examples:

Azure VM Run Command in the Azure Portal

You can run the command directly from the Azure Portal. In the menu of the Azure VM, you can select Run command. Here you can find some predefined scripts to troubleshoot your Azure VM. In the case of a Windows VM, you will find scripts like configuring RDP port or enable PowerShell remoting. But you can also run your custom PowerShell script.

Azure VM Run Command Run PowerShell Script

Azure VM Run Command Run PowerShell Script

For Linux VMs, you will find predefined options to run a Linux shell script or ifconfig to list the network configuration.



Azure Arc Center - Azure Portal

Check out the new Azure Arc Center – Azure Portal

During the Microsoft Ignite 2020 virtual conference, Azure Arc got a couple of enhancements and announcements. For example, Azure Arc enabled servers is now generally available and Azure Arc and Azure Arc enabled data services is now in public preview. If you want to learn more what Azure Hybrid announcements we had at Microsoft Ignite 2020, check out (Corporate Vice President, Microsoft Azure) blog post. One of the enhancements which I find super helpful, but didn’t get a special mention, is the new Azure Arc Center blade in the Azure Portal.

All Azure Arc Resources

All Azure Arc Resources

In the Azure Arc Center, you can now find an overview of all your hybrid cloud resources and services you can use together with Azure Arc. These include different Azure Arc enabled services like:

You cannot just get an overview of different Azure Arc services, but also find an easy way to onboard, connect, and register new hybrid resources. To open the Azure Arc Center Blade, navigate to Azure Arc in the Azure Portal.

I hope this was helpful if you have any questions feel free to leave a comment.



Azure Preview Virtual Machines

Virtual Machines IaaS now available in the Azure preview portal

Some months ago Microsoft lunched a new preview portal for Microsoft Azure, with a cool new design and features. The IaaS or Virtual Machine services was missing from the portal. A week ago Microsoft announced to add some enhancements to the preview portal including Virtual Machines. Now today Microsoft rolled out the enhancements to the portal. with other improvements:

  • IaaS Functionality: Create, deploy, monitor and manage rich virtual machines’ based applications, and manage virtual networks within a fully customizable Portal experience. In addition to creating simple virtual machines, we are adding the ability to automate the deployment of rich multi-machine application templates with a few clicks. With this, deploying a multi-tier, highly-available SharePoint farm from the portal will be a few clicks away!
  • Resource Group enhancements: Manage infrastructure services like virtual machines and virtual networks along with platform services like web sites and databases, all within the same Resource Group, as a single application. This level of flexibility and control is an example of how Azure is leading the way in blurring the lines between infrastructure and platform services, giving customers the choice to pick the best platform for their application needs.
  • Azure Image Gallery Updates: The completely re-imagined Azure Gallery is more powerful with the addition of several new virtual machine images that enable you to provision dev/test servers or production applications in minutes. The new virtual machine images and templates take the guesswork out of building, orchestrating and deploying complex applications, thus letting you focus on creating business value instead of managing the infrastructure.
  • Azure SQL Database: Customers can manage their Azure SQL Databases within the Portal, consistent with other Azure services. This includes provisioning databases across Web and Business (currently in general availability) and Basic, Standard, and Premium (currently in preview).

Checkout the blog from  Director, Product Marketing, Microsoft Azure to learn more.

Azure Preview Portal Virtual Machine



Microsoft Azure Update at Build 2014

At the Build Conference 2014 Microsoft already announced a lot of new stuff for the whole Microsoft or IT ecosystem. There is absolutely no time to cover all the changes and announcements Microsoft has made in the past 2 days. So I will just focus on the things I care about.

  • Prior to the Build Conference Microsoft announced that Windows Azure will be renamed to Microsoft Azure. This will show how Microsoft is not only building on top of the Windows platform, they also have opened up for other platforms an solutions a long time ago. One example for that maybe was the announcement of supporting Oracle Software in Microsoft Azure around a year ago.
  • Mark Russinovich announced some great new changes to Microsoft Azure IaaS. You can now capture and deploy images, you can Puppet and Chef as well as PowerShell DSC support, to configure you server environment. An this is great for developers, some of the features will show up directly in Visual Studio. Microsoft also did some work on the Networking site which was really important, for example you can now change the subnet for Virtual Machines.
    Microsoft Azure Announcements
  • Microsoft also launched a lot of new preview features like Azure Cache and a lot more. What I love the most is the new Microsoft Azure feature called Azure Automation. Azure Automation allows you to automate the creation, monitoring, deployment, and maintenance of resources in your Azure environment using a highly-available workflow execution engine. Orchestrate time-consuming, error-prone, and frequently repeated tasks against Azure and third party systems to decrease time to value for your cloud operations. This is basically Service Management Automation (SMA), which was released with System Center 2012 R2 as a on premise version, now running up in Microsoft Azure. For those how haven’t heard about SMA, SMA is a new automation engine and Runbooks in Service Management Automation and Microsoft Azure Automation are Windows PowerShell workflows.
    Microsoft Azure Automation
  • Microsoft also release a new preview of the Microsoft Azure portal. Since Microsoft released a huge number of new features in Azure, the “old” management portal didn’t really fit the requirements anymore. The new Azure management portal helps you to be much more organized and is using a lot of new concept like “blades” to help you navigate through your Azure environment. The new dashboard also gives you a quick overview about the Microsoft Azure datacenters and there service status, and the new touch friendly dashboard also allows you to customize it for your need. You can check it out on portal.azure.com
    New Microsoft Azure Portal
  • I am not a developer but I was really impressed what Microsoft did for developers. They are just generating a huge numbers of new opportunities with their new platforms not only in Microsoft Azure using IaaS, mobile Services or PaaS, Microsoft also announced a new concept of Universal Apps which allows developers to write apps which run on Windows Phone, Windows and Xbox One. Some days ago Microsoft also showed the new Kinect v2 hardware which I hope developers will use to write some really cool stuff. If we have a lot back at Microsoft Azure, what I really liked about the new Portal is the  integration of Team Foundation Server or “team projects”.
    Microsoft Azure Team Projects

This are just a few of the cool new things Microsoft announced at Build 2014, there is a lot more which is definitely worth to talk about.