Category: Intune
-
Auditing Other Logon/Logoff Events for Log Analytics
Some of my up-and-coming PowerShell based Log Analytics guides make use of Windows Event logs for data gathering. While the Event Log has a ton of useful information by default, some events only log when enabled via additional policy. One such policy is the Auditing of Other Logon/Logoff Events. This policy enables a multitude of…
-
Windows 11: Automating the Removal of Personal Teams with Intune
I got reminded of this topic recently and realized there are a lot of people who might want this. This is how you can remove Microsoft Teams Personal from Windows 11 devices and keep it gone, as best as possible as of today at least. There was at one point a registry key one could…
-
How to Code Powershell as the System Account
Have you ever needed to run and test code as the System Account? I sure have as there are some registry keys I have run into while coding various data collection scripts that can only be collected by one of two accounts. Either the account that enrolled the device or, the System account. If you…
-
Using Azure Blob Storage to Host Media for Intune Wallpaper Policy and PowerShell
Gone are the days of storing local media files for use in things like scripts and wallpapers. With Intune, the only option you have to get a piece of media onto a device is packaging a custom Win32 app along side some scripting. While this can often be useful or in some cases the only…
-
Windows Toast Notification Based Password Expiration Reminders
Unfortunately, even as of February 2023, Microsoft still doesn’t have a good solution (or really any solution) to provide employees on Azure joined devices with notifications about the fact that their password will soon expire. This is an unpleasant surprise for anyone who is used to their old local domain joined devices and the simple…
