Category: Web

Install Azure PowerShell Az Module

How to Install the Azure PowerShell Module

This blogs post describes how you can install the Azure PowerShell module. Microsoft a couple of weeks ago released version one of their new Azure PowerShell module on .NET Core called the Az module. The Az module will replace the AzureRM module over time. however, the AzureRM module is still supported. The new Az module is a cross-platform module.

Well if you are working with Microsoft Azure you may need the PowerShell Modules for automation and some settings which are only available in PowerShell. With the latest releases you can install the Azure PowerShell Module using the package management in PowerShell, and install the Azure PowerShell module form the PowerShell Gallery.

Az module features

  • Az is a replacement for AzureRM and AzureRM.Netcore.
  • Runs on PowerShell 5.1 and PowerShell Core.
  • It is always up to date with the latest tooling for Azure services.
  • Az ships in Cloud Shell.
  • It shortens and normalizes cmdlet names. All cmdlets use “Az” as their noun prefix.
  • Az will simplify and normalize module names. Data plane and management plane cmdlets for each service will use the same Az module.
  • It ships with new cmdlets to enable script compatibility with AzureRM (Enable/Disable-AzureRmAlias).

Supported platforms

  • PowerShell 5.1 – Windows 7 or greater with .Net Framework 4.7.2 or greater installed
  • PowerShell Core 6.0 – Windows, Mac OS, Linux
  • PowerShell Core 6.1 – Windows, Mac OS, Linux

Install Azure PowerShell module

For me using the PowerShell Package Management and the PowerShell Gallery is may the easiest and fastest way to install it. In Windows 10 or a computer with the Windows Management Framework 5 installed, you can use the following PowerShell cmdlets to install it.

You should not install Az side-by-side with AzureRM. Remove all AzureRM modules before installing Az.

You can also update the AZ module using the following command:

And you can use the following command to login:

You can also see the Azure PowerShell Modules and versions using the PowerShell Package Management:

AzureRM compatibility

If you would like to run scripts developed for AzureRM using Az, use the Enable/Disable-AzureRmAlias cmdlets to add or remove aliases from AzureRM cmdlets to Az cmdlets.

This can be enabled and disabled:

Run Azure PowerShell from Cloud Shell

You can also run the latest Azure PowerShell module version directly from Cloud Shell, with no need to install it.

This blog post was updated with the release 1.0.0 of the Azure Az module based on .NET Core. You can find more about the new Azure PowerShell module on the GitHub repo.

Also check out my blog post: Mastering Azure using Cloud Shell



Microsoft Band 2

Impressions of the Microsoft Band 2

A couple of months back I had the chance to visit and speak at several tech conferences, and during this time Microsoft released several devices such as the Surface Book, Surface Pro 4 and the Microsoft Band 2. I was a Microsoft Band user since November 2014 and as you can see at my review on the Microsoft Band and Microsoft Health I really liked the concept of the device.

With the Microsoft Band 2 Microsoft address some of the wishes of the users. So here are some of my impressions:

  • The Microsoft Band 2 is a welcome upgrade in terms of quality and design over the first version of the Microsoft Band
  • The new curved AMOLED display is bigger and looks much better than the old one. It also improves the touch quality after workouts with wet fingers.
  • The feel is much better. Even I got used to the first version of the Microsoft band very quickly the Microsoft Band 2 improves that and sometimes I even have to check if I am still wearing it.
  • Microsoft also added some new functionality to the Band 2 such as a Barometer and a better or always one UV sensor. But what I really like is the new Smart Alarm. When you are using the Band and start sleep mode you can also set an alarm, as a option you can also enable the Smart Alarm, and this will wake you up at the optimal wake up phase 30 minutes before the alarm was set. If you are still in deep sleep the Band will take the time you set as the alarm time to wake you up.

Microsoft also added some fun things to the Microsoft Health app. You can now compare your workouts, runs, bike rides, steps and more with your friends. And you can also create challenges and invite your friends, which is really fun.

Conclusion

The Microsoft Band 2 is a very welcome upgrade and looks much better and more mature then the first version. And Microsoft also improved some of the functionality and added some cool new features. Since I started using the Microsoft Band (v1) a while back, I also started to loss some weight. Well of course this also could have been done without any tracker, but a fitness tracker really helps you to stay motivated and have some control over your health. Now after more than a year of using Microsoft health, it is great to find and compare some data about your health, for example how much did I sleep per month, which effect did my sleep have on my running performance and so on.



Windows Azure Website from Gallery

Migrate your WordPress Blog to Microsoft Azure Web Apps

I am running several WordPress websites and I run them on several different hosters, now in the past months I migrated some of them to Microsoft Azure using the Azure Web Apps. In this post you can see how you can migrate a smiple WordPress blog to Microsoft Azure.

First you have to have a Microsoft Azure account and login to the Microsoft Azure Portal. You can now create a new website from gallery, where you can choose WordPress as an option.

Windows Azure Website from Gallery

Windows Azure Website WordPress

You can than start configuring the WordPress website and set it up to use a new database and where it should be located.

Windows Azure Website WordPress configuration

After you created the website, you can go on the link of the website and configure your wordpress site.

Windows Azure Website Dashboard

To be able to upload themes and plugins you have to enable FTP for you account. In you can do this by changing the deployment credentials.

Windows Azure Website Configure FTP

Now what you can to migrate your existing blog to your new Microsoft Azure blog, you can export your WordPress blog and import in in the new WordPress blog running on Windows Azure. In my case I hit a issue with a PHP default setting which was maxupload limited to 2MB, and my WordPress blog export file was bigger than 2MB. Now you can simply change the PHP setting by using a .user.ini..

 



ALM and Devops Day 2015

Speaking at the Microsoft ALM & DevOps Day

I feel proud to announce at I will speak at the Microsoft ALM & DevOps Day 2015 for Microsoft Switzerland. The event will take place on 24. September 2015 at the Swissôtel Zürich Oerlikon and it will be free. With the release of Windows 10 this summer, Microsoft also released a new versions of the Developer tools Visual Studio 2015 and Team Foundation Server 2015.

In two sessions I will talk about Azure Automation and PowerShell DSC as well as an update on Microsoft Azure showing the latest new features and updates to the Microsoft Cloud.

ALM and Devops Day 2015 Agenda



Windows 10 Task View

The best Windows 10 Features – Why you will love Windows 10

Since the first release of the Windows 10 Preview in the Insider program, I was using the Technical previews on my Surface Pro 3, and it is great how Microsoft is improving Windows 10 over the last several months based on research and feedback from the Windows Insider program.

In some days, at July 29, Microsoft will release Windows 10 to the public, and here are some reasons why you will love Windows 10:

Microsoft Edge

Microsoft Edge Browser

With Windows 10 Microsoft released a new browser called Microsoft Edge (before Project Spartan) which is amazing fast and brings a lot of new features to the table such as Cortana Integration, Web notes which allow you basically draw your notes on websites and share them and Microsoft also promised to allow browser extensions. Secret: you can also switch from a Light Theme to a Dark Theme.

Task View & Virtual Desktop

Windows 10 Task View

Most of the IT Pros reading this blog already knew about Task view in previous version of Windows using WIN + TAB, but only a few other users did know about this features. Microsoft not only improved the Task view, Microsoft also promoted it much better  with an icon in the Taskbar.

In Windows 10 WIN + TAB does not only offer you Task View it also allows you to create and switch between Virtual Desktops. With Virtual Desktops you can now finally create multiple workspaces on your PC, which should bring you the productivity boost you need. Secret: You can switch between different Desktops using the Shortcut: CTRL + WIN + ARROW (LEFT and RIGHT).

Hyper-V

Hyper-V vNext Runtime Memory Resize

Microsoft build Hyper-V directly into the Windows Client since Windows 8. This is great if you want to run Virtual Machines on your Windows Client. Windows 10 Client Hyper-V brings you the great performance and features Windows Server 2016 Hyper-V will bring you. Of course some features are only available in the server build of Hyper-V, but you get some great features such as Enhanced Session mode to copy & past between your PC and your Virtual Machine. Secret: Windows 10 will allow you to run Hyper-V and use Connected Standby at the same time.



Xbox Music

12 reasons to use Xbox Music

This week Apple launched their own music streaming service called Apple Music to compete with others like Spotify and other services. One service which is not really known by the public is Microsoft Xbox Music, which is not only a streaming service but also has a bunch of other features as well.

The all-in-one music service

Xbox Music allows you to buy songs and albums or subscribe to Xbox Music Pass for unlimited access all your devices. Xbox Music is the only service that brings you millions of songs to discover, stream, download and own for your tablet, PC, Xbox phone, and the Web. It’s all the music you love, every way you want it

Xbox Music Pass

Xbox Music Pass

With Xbox Music Pass, get unlimited access to millions of songs. Stream or download as much as you like. Listen on your PC, tablet, phone, Xbox, and on the web. The Xbox Music Pass costs $9.99/Month and comes with a 30 days free trial.

Xbox Music Pass Features

Music across all your devices

Xbox Music Andorid Xbox Music iOS

Xbox Music works on your PC, tablet, Xbox 360, Xbox One, the web, and your phone, including Windows Phone, iOS, and Android devices.

Sync all your playlists across your devices

Using the Xbox Music service does sync all your playlists on all your devices over the air. No more syncing devices using cables.

Offline Available

You can not only stream songs to your devices, you can also download them to listen offline. This is perfect when you are on a plane or somewhere where you don’t have internet access.

Stream your own music from OneDrive

Xnox Music OneDrive

With Xbox Music and OneDrive you can stream your own music you already own on every device directly from OneDrive. Just upload your songs to the OneDrive Music folder and they will be available on all your devices.

Xbox Music Webplayer

Xbox Music Web Player

If you are not using your own computer, or you have a device where Xbox Music isn’t installed, you can simply logon to the Xbox Music Web Player to play songs in the web browser. This is perfect when you are the your friends computer and want to play some of your favorite playlists.

Radio Stations

If you like a song or an artists and you want to discover similar music you can simply use the Radio feature, which creates custom stations based on the artists you love.

My Music

Xbox Music not only works with streamed songs, it also manages music on your local devices as well. Easily manage and play all of the music from your collection right in the Xbox Music app, including songs purchased from iTunes or other services, playlists created with Xbox Music, or albums ripped from CD’s.

Xbox Music Store

The Xbox Music Store gives you 24/7 access to one of the largest music catalogs on the planet with over 18 million songs. Buy full albums or just your favorite songs.

Unlimited skipping

With an Xbox Music Pass subscription, enjoy unlimited skipping when listening to radio stations.

Windows 10 and Windows 10 Mobile

Xbox Music Universal App 2

With Windows 10 and Windows 10 Mobile, launches a new cool Universal Windows App for all your Windows devices.

 

 



Microsoft Band

My Microsoft Band and Microsoft Health User Review

Back in November I finally got my Microsoft Band after spending a lot of time try to find one in different stores in the US. Since then I have used my Microsoft Band every day and I was waiting for the first big update and the release of the Microsoft Health Dashboard to write my first review on the Microsoft Band since the web dashboard was one of the most critical and most important feature for the Microsoft Health platform. Yesterday Microsoft finally released the first major update to the Microsoft Band and Microsoft Health with a lot of improvements such as the new Health Dashboard and a Developer SDK Preview.

I was reading a lot of reviews from different only magazines which were trying to review the device, but in my opinion have never really used it or are just wearing some Apple glasses. Let me try to review some of the features of the Microsoft Band and how I use them a little bit differently from the professional reviewers. Of course since I am focusing a lot on the Microsoft platform I am not really neutral, as Swiss people normally are, but I try to give you a good review on the product.

What is the Microsoft Band and Microsoft Health

Microsoft Health Cloud

When I was reading some of the reviews done by professionals, I really saw that they didn’t really get the point of the device. Microsoft is advertising the Microsoft Band a fitness band and not as a smartwatch, even the Microsoft Band got a lot of smartwatch features, which by the way are really good, it is a fitness tracker which helps you to collected more and more health data about yourself. The devices was made my some “fitness geeks” inside the Xbox division and what they in my opinion did, was creating a device for themselves. And this is why the Microsoft Band actually an absolutely great device, because it is made from people with passion and not from a marketing research team. As mentioned this is a fitness tracker but of course with some really great smartphone features.

The Microsoft Health platform on the other site is where all your health information collected come together. The platform is not only made for the Microsoft Band but for other vendors as well which can integrate into the Microsoft Health platform. Since I am using the Microsoft Band I started wondering why I didn’t use a device or service like this earlier. We collect so much data about our environments but we do not really measure our health data and try to understand it. With Microsoft Health and the sync to the Microsoft HealthVault you can now get all your health data in one place. I also bought a Fitbit Aria smart scale which sends information about my daily weight to the Microsoft HealthVault. With the Microsoft Band and the Microsoft Health platform as well as the HealthVault I can now collect all my Health information and analyze them in one place.

Fitness Tracker and Workouts

Microsoft Health Dashboard Calories Observations

The most important feature of the Microsoft Band is to measure your fitness and health. The Microsoft Band comes with a lot of sensors and functionality to measure your health, and it shows you have active you were. With the Microsoft Band you can keep track of different kinds of workouts such as running, cycling or just general workouts. I use it a lot when I play badminton to keep track of my heart rate and calories burned. All the data gets synced to the Microsoft Health platform so you can review it on your Microsoft Health apps on Windows Phone, Apple iOS, Android or on the new Microsoft Health Dashboard.

  • 24-hour heart rate monitor: Gives you a better understanding of your calorie burn, sleep patterns, and peak and resting heart rate so you can perform at your best.
  • Run: Whether you’re on the treadmill at the gym or outdoors in the rain or sun, you can view your run summary on your band with personalized metrics in the phone app including pace splits and heart rate.
  • Cycling: With the latest update Microsoft supports now a specific mode for cycling, which not only keeps track of your heart rate and calories but also on speed and your route using GPS.
  • Steps: Set a goal and track your progress. Microsoft Band calculates the calories you’ve burned and the distance you’ve traveled each day.
  • Built-in GPS: Measures the distance you’ve run and tracks your pace and route. Save your favorites to retrace your steps and challenge yourself later.
  • Calorie tracking: Count the calories you burn each day. View daily or weekly stats, set goals, and receive a virtual “high-five” when you reach them.
  • Guided Workouts: Fun and challenging workouts from fitness partners like Gold’s Gym, Shape, and Men’s Fitness with exercise prompts on the band and much more in the app.
  • Goal setting: Challenge yourself by setting daily step and calorie goals. Microsoft Band notifies you when you meet them so that you can stay motivated.
  • UV monitor: Get a quick read of the UV Index while you’re out and about.

Sleep Tracker

Microsoft Health Dashboard Sleep Summary

I think one of the coolest and most interesting features is the sleep tracker. When you are going so sleep you just start the “sleep mode” and the Microsoft Band will check how long it took you to fall asleep, who long you slept, how many times and when you did wake up, how your heart rate was during that time, if you were in restful or just light sleep. So you can really find out how good or bad you sleep and probably can try different things to change your sleep behavior.

Smartwatch features

Microsoft Band Smartwatch

As I wrote before, Microsoft is advertising the Microsoft Band as a fitness band and not really as a Smartwatch, but it really is a Smartwatch and I think was one of the smartest moves in the whole campaign. When I hear the word smartwatch I always think about gadgets which will replace our old school watches and I don’t think this will happen in the short term. Probably this is because I am Swiss but I think watches are not just some gadgets to show you some time, they are more kind of personal jewelry. Don’t get me wrong I am not just talking about expensive watches, even cheap watches can be jewelry and help express yourself. I am not saying that we won’t use smartwatches, because for some scenarios they really make your life easier, but I think they will be more of an addition to our watches we already have, instead of replacing them. For example on my right arm I wear a normal Swiss watch and on the left arm I wear the Microsoft Band where I had my Nike Fuelband before. So form a marketing perspective I like the word and the concept of additional “bands” a lot more, than thinking about smartwatches replacing our existing watches. But this is just my personal opinion.

The Microsoft Band comes with a lot of smartwatch features:

  • Text Messaging: Get your text messages right on your wrist.
  • Calls: See incoming call and voicemail notifications on your band.
  • Calendar: Microsoft Band stays in sync with the calendar on your phone, reminding you of important events throughout the day so you can be where you need to be.
  • Email: Monitor and preview email activity right on your band, so you don’t have to pull out your phone in the middle of your lunch date.
  • Smart notifications: Choose which alerts you get on your wrist. Change the notification settings on your phone and your Microsoft Band will match.
  • Watch mode: Turn on “Watch Mode” to always display today’s time and date without pressing any buttons.
  • Facebook & Facebook Messenger: Stay up to date on Facebook without having to check your phone. Get the latest posts, comments, photo notifications, and personal messages on your band.
  • Twitter: Tweets, mentions, retweets, messages, new followers. Set your preferences on your phone and see it all on your wrist.
  • Cortana: If you’re using Windows Phone 8.1, you can take notes and set reminders with your voice using Cortana personal assistant.
  • Weather: Get real-time weather conditions and a 5-day forecast to plan your week.
  • Finance: Create a watch list for select stocks in your Microsoft Health app. View the latest ticker activity right on your wrist.
  • Starbucks: No need to reach for your wallet. Enjoy coffee on the go with your Starbucks card ready to scan at arm’s length.
  • Timer & Stopwatch: Time your laps or your entire workout with the stopwatch. Set alarms to wake up silently or remind you to go for a run.
  • Do-not-disturb mode: Tap the icon on your band to turn all notifications off.

The features are great and they are not just here, they are well optimized for a device on your arm wrist. In my daily life I only use some of the features which are integrated. For example I really like the notifications you get from calls, messengers and text messages. For example if I receive a call during a meeting with a client, I can quickly check my wrist and see if the call is important or not and I can quickly answer it with a text message for example “I will call you back”, or just press it away, without having to take the smartphone out of my pocket. Another feature I like is the Cortana integration. Cortana on your Windows Phone knows when your next meeting or flight is and helps you keep track of that by reminding you to leave to catch the flight or meeting. Another use case I use the Microsoft Band a lot is when I login to somewhere using Two-factor authentication, where I get a security code send as text message, which I can now see on my wrist without using my smartphone.

Overall I like the smartwatch features which are integrated but they are not my primary use case for the Microsoft Band or any smartwatch, since there are a lot of things a lot easier to do when you are using your smartphone.

Design and Hardware

Microsoft Band

Let’s talk hardware and design. Well Microsoft did a great job fitting all these sensors inside the Microsoft Band, but of course adding so many sensors make the thing look bulky and the flat screen should be probably replaced with a curved screen. But basically that is all the criticism I have for the hardware design. The weight is absolutely okay and if you have used other fitness tracker before it makes not a difference. Microsoft promises around two days of battery life, for me it is most of the time even more. This is okay but of course I have used the first version of the Nike Fuelband which I had to charge every 4 weeks in average, and I thought charging my band every two days would be hard, but it wasn’t. Since the Microsoft Band only takes a couple of minutes to charge the first 80% this is enough, so I charge it during the time I take a shower.

Software

Microsoft Band Windows Phone App

With software comes all the beauty to the platform. Microsoft offers the Microsoft Health App to sync your Microsoft Band with your phone and with the Microsoft Health Cloud for Windows Phone, Android and iOS. In my opinion the app is great and helps you quickly find things. Of course the app wasn’t the best place to make long term analytics, but for this you have the new released Microsoft Health Dashboard in the web.

Microsoft Health Dashboard

Microsoft Health Dashboard Steps Summary

We had to wait for that, but Microsoft finally released the Microsoft Health Dashboard yesterday. The Microsoft Health Dashboard app is a web console if you will, where you get all the information coming from the Microsoft Band. You have different kind of views to view a specific day, week or month and compare your data. You can get a simple view of the steps and workouts you made or even an overview about your sleep behavior.

Microsoft HealthVault

As mentioned the Microsoft HealthVault is where all your health information comes together. Microsoft HealthVault is a trusted place for people to gather, store, use, and share health information online. Since the latest update you can now setup Microsoft Health to sync data directly to the HealthVault. For me the HealthVault becomes more and more interesting especially if I try to get more data in there such was weight information. For this I bought a Fitbit Aria Smartscale which uploads data to the HealthVault.

Availability

The Microsoft did lunch the Microsoft Band back in November 2014 without a big announcement. Microsoft just released it and made it available in the Microsoft stores months before the Apple Watch will be available. Unfortunately there are two problems, first of all the Microsoft Band is only available in the US and even there it is still hard to get since it is most of the time out of stock. You have to get on some waiting lists and wait to finally get it. One the software site Microsoft released the Microsoft Health app for basically all the mayor smartphone platforms such as Windows Phone, iOS and Android.

Feature Requests

I am pretty happy with the Microsoft Band and Microsoft Health, but of course I have some ideas and wishes for future releases.

  • Platforms – Microsoft has now several Health Platforms and apps, such as Microsoft Health, MSN Health, HealthVault and Xbox fitness, to just count a few. It would be great if they would move MSN Health and Xbox Fitness to the Microsoft Health platform.
  • Xbox integration – As mentioned, on your Xbox One you get Xbox Fitness, which is btw great especially if you are using Kinect. Microsoft should make Microsoft Health available over all platforms and integrate the in a single data store.
  • Friends – It would be great if you could add friends using the Microsoft Health to compete with them in workouts or other goals.
  • Badges and Competitions – Would be great if Microsoft would build something like an award system for the Health platform, so you get awarded for workouts and more.
  • Hardware – Even I like my first version Microsoft Band, it would be cool to have a v2 which has kind of a more improved design.
  • More Hardware – It would also be great if Microsoft also offers other products, such as smartscale and other health related gadgets.

Conclusion

Microsoft did a great job with the Microsoft Band and Microsoft Health. They not just created a cool gadget, they really created a product which helps people tracking their health and get more productive. I have used other trackers before like the first version of the Nike Fuelband and I also bought some Fitbit stuff for my parents, since Fitbit is available in German language. I have to say that I totally get the best experience in features and usability with the Microsoft Band, it is easy to use and configure and it shows you the information you need in optimized way.