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 Partner Center

Command Line

Export Intune device script content via Graph API

Microsoft Intune

Prerequisites: Graph API access token and the script id from Intune device script. Since the content of the device scripts cannot be read in the Intune Admin Center (as is possible with remediation scripts), the Graph API must be used for this. Use case Som...

Regularly clean up MEID devices with automation

Microsoft Entra ID

Requirements: Create an App Registration with Directory.ReadWrite.All and Device.ReadWrite.All. For logging you need to have an Azure Function to create an API to centralize logs in an Azure Log Analytics Workspace.  This automation gets all Microsoft Entra I...

Regularly clean up MEID guest user with automation

Microsoft Entra ID

Requirements: Create an App Registration with AuditLog.Read.All and User.ReadWrite.All. For logging you need to have an Azure Function to create an API to centralize logs in an Azure Log Analytics Workspace.  This automation gets all Microsoft Entra ID Guest ...

Import enrollment devices via Graph API

Microsoft Intune

Prerequisites: Graph API authorization header and the serial number & hardware identifier from the device. To read out the information such as serial number and hardware identifier from the device you can use the Get-WindowsAutopilotInfo tool provided by Micro...

Quick Commands

Docker CLI

Show running container docker ps Run new container (Also pulls the corresponding image) docker run -d -t -p <portondockerhost>:<portinsidedockercontainer> --name <containername> <containerimagename>:<containerimageversion> Docker arguments Argument...

PowerShell Quick Commands

XenDesktop

Every command from this collection needs to be run on one of the Delivery Controllers. Turn off Citrix VDI Add-PSSnapin citrix* New-BrokerHostingPowerAction -Action TurnOff -MachineName <vdimachinename> Set maintenance mode Add-PSSnapin citrix* Set-Broke...

Basic quick commands

Kubectl

Get all nodes kubectl get nodes Get cluster details kubectl cluster-info Get all pods kubectl get pods --all-namespaces Get all deployments kubectl get deployments --all-namespaces Get all namespaces kubectl get namespaces Delete deployment kubectl ...

Allow ssh with password

Bash

Change parameter in config file Edit ssh config file: sudo nano /etc/ssh/sshd_config Restart ssh service sudo systemctl restart sshd

Increase diskstorage for Linux VMs

Bash

To increase the storage drive you first have to increase the storagecapacity in the proxmox admin gui. Then you can use the following commands in this order to increase the size of the volume. fdisk -l cfdisk Next choose "Resize" and then "Write". fdisk -l...

Upload files & folders via Graph API

Microsoft SharePoint

Requirements: You need to work through the "Preparations" part of this manual: Download & read files ... | LNC DOCS (lucanoahcaprez.ch) With this tutorial, files can be written to SharePoint Online repositories automatically and without user interaction. This...

User manual

ChatGPT

Notify license shortage with automation

Microsoft Entra ID

Requirements: Create an App Registration with LicenseAssignment.ReadWrite.All permissions and a client secret. With this automation all licenses and their usage are evaluated via Graph API. A message is posted in a team channel when a certain amount of usage ...

Advanced registry tweaks

Microsoft Windows

Enable verbose status messages Configure Windows so that you receive verbose startup, shutdown, logon, and logoff status messages. Verbose status messages may be helpful when you're troubleshooting slow startup, shutdown, logon, or logoff behavior. Path Com...

Get calendar entries via PowerShell

Microsoft Outlook

Requirements: Basic PowerShell knowhow and Outlook Application. This documentation shows how to read calendar data from an Outlook attached mailbox in PowerShell. Use case This Outlook API can be used to migrate or evaluate the calendar data inside of an Ou...

Get task entries via PowerShell

Microsoft Outlook

Requirements: Basic PowerShell knowhow and Outlook Application. This documentation shows how to read task data from an Outlook attached mailbox in PowerShell. Use case This Outlook API can be used to migrate or evaluate the task data inside of an Outlook ma...

Update mailbox data via PowerShell

Microsoft Outlook

This documentation contains code blocks in PowerShell to get better acquainted with the Outlook API and describes how data can be modified or written. Use case This interface can be handy when calendar items or task folders need to be moved to other folders ...

Tasks to appointment working method

Task & calendar management

This guide describes one possible work methodology for getting work done efficiently and transprantly. This also allows to record the work done.  Procedure If you have a new task to do in the near future, you can use the following approach. Create a new t...

Long term projects & processes

Task & calendar management

This overview can be visualized best with the help of a Kanban board. Suitable tools: Microsoft Planner, Asana, Microsoft DevOps, etc. This guide describes a possible work methodology for getting work done efficiently and transprantly. This also allows to rec...

Avoid object property checking with optional chaining

Theoretical Concepts

Optional chaining is a relatively new operator that was introduced in ES2020. It allows you to call object properties safely, without throwing an error. When calling properties without this operator, you many crash your applcation with the error Cannot read pr...

Create Win32 line of business app with file upload via Graph API

Microsoft Intune

Here is a perfect manual: Win32LOB intunewin file upload process explained for automation (rozemuller.com)