Beiträge von
Marcel Meurer

Expertenwissen von Marcel Meurer

| |

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 ( 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: – „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:

| |

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.

| |

Fast overview about your Azure spending with a windows tool for your subscriptions

Between Christmas and New Year’s Eve, I had a couple of days I had some time for hacking. So, I wrote a small windows tool which can display the Azure spending for my subscriptions and notifies me if one amount has changed.

The result is my tool “Azure Spendings”. You can enter up to three accounts. For these accounts Azure Spendings enumerates all tenants and assigned subscriptions. The costs (the same as on are displayed.

| |

Use Azure OMS Log Analytics to monitor Custom Applications / Infrastructures: Citrix Workers

Azure OMS offers with Log Analytics a big data analysis cloud service. It comes with an agent to collect different data on Windows and Linux systems. It can also be combined with Microsoft System Center Operations Manager (SCOM). The collected data can be visualized by adding solutions from a gallery, searching the log with its own syntax and building custom views. Solutions from the gallery can be: AD Replication Status, Change Tracking and many more.

| |

Create MSOMS Workspace for LogAnalytics Premium plan or change it from Standalone to Premium with PowerShell – Data retention 1 year

I use Microsoft Azure Log Analytics as a big data service. For example, I’m developing an agent for Citrix Worker to collect a mass of performance data for each worker in a farm. Performance data are: Different bandwidth consumption per user, running processes with memory and cpu usages, session data, logon data, etc. The agent uploads these data to Log Analytics and a custom dashboard shows different statistics and allows a capacity management of Citrix farms.

| |

Access OneDrive for Business with PowerShell as an Azure AD App

Some months ago I wrote a blog and a PowerShell module to operate OneDrive (the private one): Accessing OneDrive for Business is well documented at, but it is more difficult to authenticate to it than to OneDrive.

These are the steps for the authentication:

Register your PowerShell app in your Azure AD

To allow your PowerShell script to authenticate users you have to register it in Azure Active Directory.

| |

Zugriff auf OneDrive for Business mit PowerShell als Azure AD Anwendung

For einigen Monaten habe ich ein PowerShell Modul und einen Blog über den Zugriff auf OneDrive mit PowerShell geschrieben – auf den privaten OneDrive Account: Der Zugriff auf OneDrive for Business ist in der Authentifizierung komplexer und erfordert die Einbindung eigener Skripte in das Azure Active Directory. Die Zugrunde legenden API ist hier beschrieben:

Hier meine Schritt-für-Schritt Anleitung für die Authentifizierung für den Zugriff auf OneDrive4Business.

Registrieren der Anwendung / des Skripts im Azure AD

Damit das spätere PowerShell Skript Benutzer authentifizieren kann,

| |

Azure VM Control – Meine erste selbstgeschriebene Android App

In einer cloudbasierten Welt verhält sich einiges anders als in der klassischen.

Zum Beispiel laufen Server im Rechenzentrum kontinuierlich – es macht von den Kosten nahezu keinen Unterschied, ob sie durchlaufen oder nur dann in Betrieb sind, wenn sie gebraucht werden.

Anders ist es in Azure: VMs werden minutengenau abgerechnet. Also macht es hier einen deutlichen Unterschied, ob eine VM 24h läuft oder nur in den 10h, in denen sie benötigt wird.