Beiträge von
Marcel Meurer

Expertenwissen von Marcel Meurer

| |

Deallocate an Azure VM from itself

In these days I’m dealing with the automation of starting and stopping Azure virtual machines. I do this to avoid unnecessary costs for customers running Citrix or RDS workers on Azure. I translated a piece of my work into a PowerShell script to de-allocate the VM on which it is running.

Azure Instance Metadata Service

To get information about the running VM I use Azure Instance Metadata Service (https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service). This information contains the public ip address,

| |

How to use http delete, put, head, connections, connect with an Azure Web App

I often use Azure Web Apps to deploy tools and programs running serverlessly. A few weeks ago, I deployed an MVC web site with a controller to handle file uploads to an Azure Storage Account. For the client site I used jquery-FileUpload, which also allows to trigger a controller to delete a file. If a user tries to delete a file, jquery-FileUpload triggers the controller with the http-request method “DELETE”.

In my local environment this worked as expected but nothing happened in my Azure Web App deployment.

| |

OneDrive PowerShell Module – New Version with Improved Authentication

A few months ago, I wrote a PowerShell module to access OneDrive. I got a lot of feedback from the community – thanks for that.

This week I published a newer version to PowerShellGallery.com including new features and bugfixes. These are the main improvements:

Bug fixes:

  • Filename and paths containing special characters like ‘=’, ‘$’, etc. are now handled correctly
  • Enumeration of folders with a file count >200 is now working

Improvements:

  • Get-ODAuthentication now supports a “code” based-authentication including refresh of the authentication with a refresh token.
| |

Updated: Azure Log Analytics Agent for Citrix and Microsoft RDS – Version 1.1.0.0

Over the last year I built a solution to monitor Citrix and RDS environment focused to the user behavior. The agent is focused on events, performance consumption, network activities and more regarding each user’s IT experiences. Workers in this context are Windows Remote Desktop Server, XenApp Servers and of course Windows Client VDI’s (XenDesktop) – in a cloud, on-premises or hybrid.

An important point is: There is no other infrastructure needed: No SQL server,

| |

Deploy a node.js script in seconds to an Azure Web App with git and run it server-less

Deploy a node.js script in seconds to an Azure Web App with git and run it server-less

In customer projects, I sometimes develop small applications to collect and process data from different data sources or to offer a web interface. In any case, I try to avoid rolling out a VM to run these apps. I strictly prefer using Platform-as-a-Service and it works nearly 100% if I use an Azure Web App or Azure Functions.

| |

Preventing administrative users to change critical network settings in an Azure hub-spoke topology

An Azure hub-spoke topology enables a company to use infrastructure as a service without losing control of the network flow. This is particularly important if you have business users with their own subscription (which I support) and the services in this spoke needs access to on-premises resources via a vpn gateway (e.g. site-2-site vpn).

To prevent the business users from changing the network settings in the prepared spoke subscriptions, it’s necessary to give them the right role in Azure.

| |

Verwenden des OneDrive PowerShell Moduls aus der PowerShell Gallery für den Zugriff auf OneDrive per Kommandozeile

Ich habe ein PowerShell Modul geschrieben, mit dem per Kommandozeile mit OneDrive gearbeitet werden kann. Das Modul verwendet die dokumentiert OneDrive API (https://dev.onedrive.com/README.htm). Wenn PowerShellGet bereits auf dem Rechner installiert ist, lässt sich das OneDrive Modul mit einem Befehl laden und installieren:

Install-Module -Name OneDrive -Scope CurrentUser

Ebenso lässt sich das Modul mit dem gleichen Befehl aktualisieren (bitte -force anhängen). Falls PowerShellGet aktuell nicht vorhanden ist, lässt sich dies hier nachholen: https://www.powershellgallery.com/packages/OneDrive – „Get Started“.

| |

Azure Global Bootcamp 2017

On April 22 the annual Azure Boot Camp event took place worldwide. I was happy to be a part of this important event in 2017. I decided to talk about one of my favorite Azure technologies: Azure OMS Log Analytics. I held my presentation in Lingen in a very pleasant atmosphere at it.emsland. At this point: Thanks to @sql_williamd for the organization 🙂

My topic was “Azure OMS Log Analytics – Big-data-as-a-Service” and the presentation focused on Log Analytics.

| |

Online on MSDN: Build your own IoT device with ESP8266 system-on-a-chip, Azure Event Hub, Stream Analytics and Azure Storage

Today Microsoft released my article „Build your own IoT device with ESP8266 system-on-a-chip, Azure Event Hub, Stream Analytics and Azure Storage“ on MSDN . I wrote this step-to-step guide in the context of the MVP Award Program.

If you want to know more about building smart IoT devices with ESP8266 I invite you to read my post on:

https://blogs.msdn.microsoft.com/mvpawardprogram/2017/03/28/build-your-own-iot-device/

| |

Webinar: Full control of the cloud with Azure Operations Management Suite and Log Analytics – security, performance and scalability of solutions

On February 1st I had the chance to give a webinar focused on Azure OMS Log Analytics. Log Analytics is Microsoft’s big-data solution in Azure.

This is the introduction:

OMS log Analytics is „the“ big-data solution by Microsoft in the Azure cloud. The OMS agent uses log Analytics as the storage for the metrics and data of the monitored infrastructures and solutions. The analytics engine enables administrators to evaluate the collected data with predefined and customized dashboards.