Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

173 total results found

Microsoft Exchange

ChatGPT

Docker CLI

Microsoft Windows

Microsoft Outlook

Task & calendar management

Theoretical Concepts

Docker API

Cron

Installation & Setup

GIT

Mongo CLI

WinGet

Communication

Semester 1

WebGUI

Microsoft 365 DSC

Pipelines

Runners

Google Workspace

Sync multiple sites to explorer via PowerShell

Microsoft SharePoint

Prepare CSV Create CSV with these columns. This information is needed to start the Sync Process (HTTP-Call on odopen://, see in PowerShell script) along with the UsersID and UsersUPN. Column (Property) Example How to get value url https://luc...

Write custom logs via PowerShell

Azure Log Analytics

With Log Analytics you can write custom logs. For this the API can be used to write new logs to the Log Analytics Workspace. The whole API is documented here: https://learn.microsoft.com/en-us/rest/api/loganalytics/create-request Script template This script ...

Check if script runs as admin

PowerShell

Check session for admin privileges If you have to run your commands in your custom script as admin, it is essential for error handling to check if the current session is admin. $isAdmin = (New-Object Security.Principal.WindowsPrincipal $CurrentUser).IsInRole...

Authenticate to different host

PowerShell

Use case This script block can be used in combination with an Azure Runbook. For example you can run a PowerShell script on an Active Directory Domain Controller via an AD Joined Hybrid Worker. So, you can use all the advantages of Azure Runbooks with the abi...

Lookup external tenant id

Microsoft Graph API

Requirements: Authorization header and CrossTenantInformation.ReadBasic.All permission on App Registration.  With this API endpoint you can check if the domain is registered on Microsoft 65 products and get the tenant name and tenant id by a random domain nam...

How to Runbook

Azure Runbooks

This guide is a quick manual for an Azure Runbook. Here is a brief description of the prerequisites and definitions that must be met in order to create an automation via Azure Runbooks. Prerequisites Defined goal A defined goal is necessary that we can chec...

How to Function

Azure Functions

This is a short guide for creating an Azure Function. This is a high-level concept in order to be able to make the preparations correctly and completely so that no unwanted surprises occur later during implementation.  Prerequisites Defined goal A defined g...

Query Azure Firewall Logs

Azure Log Analytics

Azure Firewall Logs can be stored in an Azure Log Analytics Workspace. This workspace then contains all status logs along with permitted and denied connections. So, to find out if a connection is wrongly blocked or to make a specific firewall request, we can u...

Restructure JSON (object) into hashtable

PowerShell

This script is needed if you get an object by any source (e.g., json) and you have to give every member of the object as a value (keypair) into a hash table. $bodyjson = @" { "logtype": "testlogs2", "logbody": { "computername":"Device-1234...

Centralize log collection with a custom REST API

Azure Functions

All environments of a larger IT team write several thousand logs and status messages every day. These logs are usually only stored on the respective systems and cannot be centrally administered or managed. Alarms or monitoring on a log basis in a centralised s...

Quick commands

Bash

Change owner of folder sudo chown -R <linuxuser>:<linuxgroup> <pathtofolder> Manage Linux groups Create group groupadd <groupname> Add user to group usermod -a -G <linuxgroupname> <linuxusername> List groups sudo groups -la Managing tar files Preview...

Send mail via Exchange Online

Microsoft Graph API

Requirements: Authentication header is needed to use this script and API. Basic API information This API can either be used to send a mail out of the mailbox of a user (application permission needed): POST https://graph.microsoft.com/v1.0/users/<userprincip...

Create application access token & authorization header

Microsoft Graph API

To authentication against the Microsoft Graph API there are two general concepts. Application permissions allow an application in Microsoft Entra ID to act as it's own entity, rather than on behalf of a specific user. Delegated permissions allow an application...

KQL quick commands

Azure Log Analytics

Count entries in table <loganalyticstablename> | summarize count() Get log storage usage Usage | where IsBillable | summarize DataGB = sum(Quantity / 1000)  

Restrict App Registration application permission to certain mailboxes

Microsoft Exchange

Requirements: Active Exchange Administrator Role and App Registration with application permissions granted. Application Access Polices Generally Application Permissions allow an Azure App Registration to access a certain type of data within the whole tenant....

Technology
Exchange
Technology
App Registration

Create Runbook Job via Webhook and Azure Management API

Azure Runbooks

To create a Runbook Job you can use the Azure Management API in combination with the webhook feature from Azure Runbooks. This makes sure that you can execute a script with given parameters in a safe location (credential handling, reliability, on premise acces...

Experiences with Multi Admin Approval

Microsoft Intune

Multi Admin Approval is a feature in Intune, that require a second administrative account to approve a change before the change is applied. With Multi Admin Approval (MAA), you configure access policies that protect specific configurations, like Apps or Scrip...

Technology
Intune
Manufacturer
Microsoft
Type
Blogarticle

Create user access token & authorization header

Microsoft Graph API

To authentication against the Microsoft Graph API there are two general concepts. Application permissions allow an application in Microsoft Entra ID to act as it's own entity, rather than on behalf of a specific user. Delegated permissions allow an application...

Things to consider & limitations

Microsoft Graph API

These things have to be considered when building automations or applications which use the Microsoft Graph API.  Graph API limitations This list documents the limitations of the Microsoft Graph API. The full limitations of the Microsoft Graph API can be seen...

General architecture

Support HAP