Category: PowerShell

Azure Stack Tenant Portal

Considerations for deploying apps and services on Azure Stack

I work with a couple of customers on different Azure Stack projects. One of the main topics that always comes up, is what are the differences between Azure and Azure Stack when deploying applications and services. Obviously there are the high level differences, which I have written about it here: Microsoft Azure Stack – Azure Extension in your Datacenter. However, there are also small differences in features and services between Azure and Azure Stack. These differences can block customers form deploying and automating workloads. I tried to summarize the most common differences and considerations you should know, in a single blog post.

High-level differences between Azure and Azure Stack

Some of the high-level differences between the to platforms are:

  • An Azure Stack does not have the same SLA and physical security in place, since the Azure Stack does not run in a Microsoft operated location.
  • Azure Stack provides only a subset of the Azure services and features.
  • Azure Stack is not operated by Microsoft. Azure Stack backend is operated by the operators in your company or by a service provider.
  • The Azure Stack operator, which can be your company or a service provider, chooses which services, features and marketplace items he wants to make available on Azure Stack.
  • Azure Stack comes with its own portal. It has the same look and feel, but it will be another URL and endpoints for the portal as well as for the APIs.
  • Azure Stack will have different PowerShell and API versions available. If you are building a hybrid cloud app, which should work on Azure and Azure Stack, make sure you are using the versions supported by Azure Stack.

Considerations and differences between Azure and Azure Stack

Obviously, there is much more to this. I put a list of links together, where you can find the differences between Azure and Azure Stack and more considerations you should think of when deploying on Azure Stack.

Setup an Azure Stack operator and developer environment

Install Azure Stack PowerShell

To connect to Azure Stack using PowerShell, Visual Studio, the Azure CLI or other Azure Stack tooling, you have to setup a few things. I recommend that you read my blog post about how to setup an Azure Stack operator and developer environment. This is not only helpful for operators, but also for people who want to deploy and develop solutions on Azure Stack.

Check API versions available on Azure Stack

Azure Stack API Verions PowerShell

If you are an Azure Stack tenant and you want to check which API versions are available on your Azure Stack, you can run the following PowerShell command against Azure Stack. This does not need any administrator rights, you will just need a tenant account on Azure Stack to access it. If your Azure Stack is running at a service provider, it is very likely that you won’t have access to the Administrator portal to check the version.

Check Azure Stack version release notes

Azure Stack Version Release Notes

Another good thing to check if you are running in any issues deploying applications or services, is to check the Azure Stack version release notes. They document very well the new features added, fixed as well as known issues with that release.

You can find the links to the latest Azure Stack release notes here. I also recommend that you read my article about Updating Azure Stack.

I hope this gives you a quick overview and help you to successfully deploy applications and services on Azure Stack. You can find most of this information on the documentation site, but I decided to consolidate this information in one post.



WLinux WSL Setup Wizard for Windows 10

WLinux – The best WSL for Windows 10

A couple of Windows 10 releases back, Microsoft delivered the Windows Subsystem for Linux. The Windows Subsystem for Linux allows you to run Linux distros, like Ubuntu, Debian, Suse and others, on Windows 10. Around the Microsoft Ignite 2018 timeframe another distro was released to the Windows Store called WLinux. WLinux is a Linux environment for Windows 10 built on work by Microsoft Research and the Debian project. WLinux is a custom Linux distro built from Debian specifically for use on the WSL. While other distros are available for WSL, WLinux is the first optimized for use by users of WSL for WSL. It helps developer run Linux tooling on Windows and integrates into perfectly into Windows.

WLinux Setup

WLinux WSL Setup Wizard for Windows 10

WLinux comes with a custom setup, to prepare your environment in a very simple and easy wizard. It lets you setup some predefined software and settings and configure integration into Windows.

WLinux WSL Docker Bridge to Windows

WLinux Docker Bridge

If you want to run Docker in the Windows Subsystem for Linux, you can bring the Docker Client to the Windows Docker Engine. This allows you to run Docker directly from WSL and from PowerShell at the same time.

Microsoft Tooling

WLinux Installing Azure CLI

Of course WLinux brings the usual Linux development tools and easy setup for Ruby, NodeJS, Go, Java, Python, editors like emacs and even different shells. You can also easily add Microsoft tooling by adding Azure CLI, PowerShell Core and even Visual Studio Code.

Windows Explorer Integration and WSL Utilities (wslu)

It easily lets you to setup Windows Explorer integration and brings wslu, a collection of utilities for WSL, preinstalled. Wslu bringt the following features to the WSL

  • wslusc This is a WSL shortcut creator to create a shortcut on your Windows 10 Desktop.
  • wslsys This is a WSL system information printer to print out some basic system information.
  • wslfetch This is a WSL Screenshoot Information Tool to print information in an elegant way.
  • wslupath This is a WSL Windows path Converter that can convert Windows path to other styles of path.
  • wslview This is a fake WSL browser that can help you open link in default Windows browser.

WSLfetch

If you want to know more about WLinux, check out the website Whitewater Foundry.

Or download WLinux from the Microsoft Store.

You can also contribute on the project on GitHub.



netsh wireless password

Show Wireless Network Password on Windows 10

Today I have a simple blog post, which is more less just a note for myself. If you are join your Windows 10 device to a Wireless Network and you can’t remember the Wireless Password or Key you can recover this using the netsh command. Simply run this command to show the network key of the wireless network:

To list the wireless networks you have access to, you can use the following command:



Microsoft Learn

Microsoft Learn – A Great Place To Learn!

In a world with always evolving and fast changing technology, it can be hard to keep up with the latest innovation. However, in our just we need to keep learning and be more efficient. It can be difficult to find the right resources and the right content. This is why Microsoft launched Microsoft Learn, a new platform to learn technology and keep up with the fast pace of our industry.

Microsoft Learn

Microsoft recently switch the certification programs for Azure to role-based certifications, for example Azure Administrators, Azure Developers and Azure Architects. The new Microsoft Learn platform also gives you a training and modules based on your role selection.

Microsoft Learn Guide

Microsoft Learn Guide

The platform has a guided experience, explaining you the technology with text, videos, control questions, but also with hands-on training using sandboxes in Azure for free.

Microsoft Learn Sandbox and Hands-on

Microsoft Learn Sandbox

You cannot only read and watch videos, you also have a hands-on expierence. You can get a sandbox environment to live try code or even the portal experience to work with Azure or other Microsoft technology. In this example, I have the Microsoft Learn Guide on one site and Azure Cloud Shell on the other. I don’t even need to jump out of the learning experience, I just simply can try out the code.

Get started with Microsoft Learn

The Microsoft Learning platform is much more than I just explained. And Microsoft is working hard on adding even more content for more products and services to the page. If you want to get startet with Azure Certifications or just Azure in general, Microsoft Learn is the place to be!

And the best thing, it is free. You get amazing content guide and explained with labs to even try it out by yourself. The only thing you need is time and the willingness to learn. To try it out, just visit the Microsoft Learn homepage and let me know what you think!



Microsoft Certified Azure Administrator Associate

Passed Microsoft Certified: Azure Administrator

After the announcement of the new Microsoft Azure certifications at Microsoft Inspire in Las Vegas, I decided to take the beta exam which was available to upgrade my current Azure certifications. Since I had already passed Exam 70-533 Implementing Microsoft Azure Infrastructure Solutions, I needed exam AZ-102 to do the transition. Today I got confirmation that I passed the Microsoft exam AZ-102 and earned the Microsoft Certified Azure Administrator Associate certification.

I already took the new available beta Exam for the Microsoft Certified Azure Architect at Microsoft Ignite, however for the results I still need to wait a bit.

What is Exam AZ-102 Microsoft Certified: Azure Administrator Associate

The new certifications are based on different job roles, like Azure Administrator, Azure Developer and Azure Architect. You can read more about the new Azure Certifications here on my blog.

Earning Azure Administrator Associate certification demonstrates understanding of services across the IT lifecycle, and ability to take requests for infrastructure services, applications, and environments. Candidates for this certification are typically Azure Administrators who manage cloud services spanning storage, security, networking, and compute cloud capabilities. They recommend services to use for optimal performance and scale, as well as provision, size, monitor, and adjust resources.

This is great news to start in the day while I am flying to a customer in Paris today for some more Azure work.

Exam Preparation

The skills measured in AZ-102 are a mix from AZ-100 and AZ-101 and will focus on Azure Infrastructure and deployment, Azure Integration and Azure Security.

I often get asked how I prepared for exams such as this. Obviously it makes sense to certify the knowledge you already have. I usually use Microsoft free online courses on Channel 9, Virtual Academy and now the new Microsoft Learn. However, I realized that also the Azure Documentation is a great resource to learn. I recommend you check the skills needed for the exam, in this case AZ-102 and read the specific Azure Documentation for these topics, and also try it out.



PowerShell Windows Server System Insights

Windows Server 2019 System Insights

Currently Microsoft is releasing preview versions of Windows Server 2019 to the public. In one of the latest Windows Server Insider Preview builds, Microsoft released a new feature called Windows Server System Insights. The Windows Sevrer 2019 System Insights capability is a machine learning or statistics model that analyzes system data to give insight into the functioning of your Windows Server deployment. These predictive capabilities locally analyze Windows Server system data, such as performance counters or ETW events. This is helping IT administrators proactively detect and address problematic behavior in their Windows Server environment.

Windows Admin Center System Insights CPU Capacity forecasting

System Insights runs completely locally on Windows Server. All of your data is collected, persisted, and analyzed directly on your local machine, allowing you to realize predictive analytics capabilities without any cloud-connectivity. However, if you are using for example Azure Log Analytics (OMS), you forward the events created by System Insights to Azure Log Analytics, which than can give you a unified view about your environment.



Windows Server FTP

Install FTP Server on Windows Server

Windows Server has IIS build in, which also offers a FTP server option. The File Transfer Protocol (FTP) is still a very popular protocol that allows users to simply upload and download files. Of course today you have more modern options, however it is still very often used and a lot of legacy applications still support it.

In this blog post I wanna quickly go rough how you can install the FTP Server on Windows Server. I do this on a brand new Windows Server 2019 operating system, however it didn’t really change since early Windows Server versions.

Install FTP Server Feature on Windows Server

Install FTP on Windows Server using PowerShell

First you will need to install the FTP feature. I usually simply do that using PowerShell to install the FTP Server feature in Windows Server. You can also do that using the Server Manager. However, if you want to use PowerShell, you can use the following command: