PowerShell
All posts

Fix Lenovo SmartSense Screen Locking via Intune Proactive Remediation
Fix Lenovo devices that auto-lock or dim when users look away using an Intune Proactive Remediation targeting the SmartSense service. Step-by-step guide with detection and remediation scripts.

Intune Diagnostic Tool: Analyze IME and Autopilot Logs with One Script
Analyze Intune Management Extension and Autopilot logs with the Intune Diagnostic Tool. A single PowerShell UI for three community diagnostic scripts. Free and open source.

Deploying Shortcuts with Intune: Your Options
Deploy shortcuts with Intune using Platform Scripts, Remediations or Win32 apps. Covers Start Menu links, file shortcuts and the trade-offs of each method."

Free up space for Windows 11 upgrades with Intune Remediation
Learn how to use Intune Proactive Remediation to detect and fix low disk space before a Windows 11 upgrade with a user friendly popup.

Quick Tip: Lock Windows 11 to 24H2 During Onboarding
Prevent unintended upgrades to Windows 11 25H2 during onboarding. Pin 24H2 via Intune Settings Catalog and WUfB.

Automatically Set the Time Zone in Intune Autopilot
Set the correct time zone during Intune Autopilot using my PowerShell script and IPInfo API. Fast, simple, and no extra services needed.

How to Troubleshoot Intune Remediation Scripts Locally

Custom Compliance Policies in Intune: When and How to Use Them
Use custom compliance in Intune to check services, registry keys, and files. Includes scripts, JSON, and setup tips.

Manage Windows Services with Intune: A Practical Guide
Learn how to manage and configure Windows services using Microsoft Intune. I'm using PowerShell and Intune's scripting capabilities.

Splash Screen for Windows: Start-SplashScreen
Create a custom PowerShell splash screen for Windows with Start-SplashScreen. Enhance user experience, track script progress, and more.

Cleaning Up Microsoft Apps Cache on Demand with Intune
This guide demonstrates how to clear the Microsoft 365 Apps cache on demand with Intune, potentially resolving various app-related problems.

Handling the New Outlook with Intune
Handle the new Outlook with Intune: Learn how to block, roll back, and deploy the new Outlook with Intune.

Teams 2.0: Cache cleanup on demand
Clear the cache of the Teams Client from a user with Microsoft Intune on-demand actions. Simple teams Cache cleanup!

The New Teams: virtual Background with Intune
Learn how to deploy Teams virtual Background with Intune. A step-by-step guide for an easy deployment and update process.

Remove the Microsoft Store from the Taskbar with Intune [UPDATED]
This guide shows you how to unpin / remove the Microsoft Store from the Taskbar using Intune. Choose your method & banish the icon today!

Create Desktop Shortcuts for Windows Apps
Learn how to create Desktop Shortcuts for Windows Apps, manually, with PowerShell and for a central deployment with Intune.

Winget Deployment with PSAppDeployToolkit and Intune
Application deployment with Winget packages using PSAppDeployToolkit and Intune. A how to guide with examples.

Deploy the NEW Teams Client (and cleanup the classic)
Here's how you can install the new Teams Client via Intune and in the same process you can clean up old / classic Teams installations.

Ensuring Windows LAPS Readiness with April 2023 Update
Ensure Windows LAPS readiness post Autopilot deployment by installing April 2023 update seamlessly via Intune.

How to open (new) Teams in Background
Learn how to deploy settings to Microsoft Teams to start / open it in the background for a user-friendly and seamless work experience.

How to set Registry Keys with Intune
Hers how you can add, delete or modify Registry Key with Intune. You won't have the Preferences from GPO's, but PowerShell got you covered.

Where is my Device Registered? Get-AutopilotProfileInfo
Is your Windows Autopilot device registered with the wrong organization? PowerShell and I have you covered: Get-AutopilotProfileInfo

App update via vendor URL and Remediation
Update with (Proactive) Remediation an App via the Vendor URL and perform the update with a delay if necessary.

Start with Azure Automation & Managed Identity
Mit Azure Automation und einer Managed Identity zur Authentifizierung sicher Automatisierungen für den Modern Workplace umsetzen.

Remove old user profiles - Intune
Mit Intune und "Proactive Remediations" alte User Profile überwachen und bei Bedarf automatisiert entfernen.

OneDrive Desktop Offline with Intune
You can make OneDrive folders (desktop etc.) always available offline via PowerShell and thus also via Proactive Remediations.

Fix: Start Menu Not Responding / Can't Log Into Office Apps
Your Windows Start menu is not responding and/or you can't log into the Office apps anymore? This might help.

Send support Information to Teams channel
Send support information of an Intune managed device to a Central Teams channel with one click by the end user.

Santa brings you Autopilot (and more)
Intune deployment automated with the PowerShell module "IntuneStarterKit" - enriched with apps and configurations as needed.

Introducing IntuneDeviceInventory
Mit dem Powershell Modul IntuneDeviceInventory benutzerdefinierte INfomtionen zu Microsoft Intune Geräten hinzufügen.

HP drivers with Intune and Proactive Remediations
Using Microsoft Intune to check for and install HP drivers and updates with the Proactive Remediations feature.

winget Updates | Proactive Remediations
Realise updates of applications via winget with the Proactive Remediations. (Function in Microsoft Endpoint Manager / Intune)

Block Microsoft Store with Intune
How you can block the Windows Store with Microsoft Intune to only allow predefined Store applications on your devices.

Remove OneDrive Personal from Explorer
This quick guide explains how to remove the extra OneDrive personal icon in the Windows Explorer using a simple PowerShell script.

"Proactive Remediation for Business"
Proactive Remediation cannot be used with the Microsoft 365 Business Premium license. - But... I will show you a workaround!

Excel Default Template with Intune
Distribute the Excel default template, consisting of "Book.xltx" and "Sheet.xltx", to devices and users with Intune.

PowerPoint Default Template with Intune
Assign the default PowerPoint template (blank.potx) to the user using Intune (Microsoft Endpoint Manager).

Open Teams Classic in Background | Intune
In Microsoft Teams, the setting "Open application in background" can be set as a user or centrally with Intune.

Outlook Default Template with Intune (NormalEmail.dotm)
Mit Intune eine Outlook / Mail Vorlage zentral verwalten und verteilen. Dazu gehört eine "NormalEmail.dotm" und einige Registry Einträge.

Run once at Startup - Intune
Durch ein "Run once at Startup" Script mit Intune kannst du bevor der User ein Programm öffnet Änderungen oder einen anderen Task ausführen.

Let Firefox Use the Windows Certificate Store - Intune
Using Intune and a PowerShell script to teach Mozilla Firefox to use the Windows certificate store.

Custom Detection Script für Intune (win32 Apps)
Intune Win32 App installations with a Custom Detection Script, enabling more complex/granular queries and scenarios.

Delete Microsoft Teams Cache once - Intune
Using Intune and a PowerShell script, to clear/ delete the Microsoft Teams cache once at system start-up to fix the start-up loop.

PowerShell / Win32: Send Install Logs to Teams - Intune
Send transcripts, a log or errors of a PowerShell script or Win32 app from Intune to a Teams channel with a webhook.

Shared Printer with Intune
Distribute shared printer with Intune and connect them when users log in and when they change networks- like a GPO.

Word Standard Template with Intune (Normal.dotm)
Das Normal.dotm kannst du mit Intune verteilen, um sicherzustellen, dass bei neuen Word Dokumenten immer das Corporate Design hinterlegt ist.

Pre-Installed PowerShell Modules in Windows Sandbox
Easily install PowerShell modules in Windows Sandbox with WSB and PS1 scripts. AHow to test apps with Windows Sandbox PowerShell Modules.

Windows 11 Taskbar - Get rid of widgets and chat
Die Windows 11 Taskbar beinhaltet standardmässig die Widgets und den Teams Chat. Diese entferne ich mit Intune / MEM.

Turn off Microsoft Viva Briefing Email
You can turn off the Microsoft Viva Briefing email either tenant-wide or for individual users and groups.

Hostname on Desktop - Intune
With DesktopInfo and Intune, the hostname of a device can be displayed on the user's desktop as an alternative to BGInfo.

Microsoft Teams (classic) virtual background with Intune
Distribute an organisation-specific background (virtual background) for Microsoft Teams meetings and calls with Intune.

Exchange Online SMTP for printers and co.
Schnell und einfach SMTP mit Basic Authentification für Exchange Online aktivieren und für Drucker oder Webseite nutzen.
