-
Troubleshooting Autopilot ESP App Failures: Error 0x81036502
Howdy folks! Here is a fun topic for today. Most anyone who works with Autopilot has probably been sent a fuzzy cellphone picture of an ESP failure at one point or another. More often than not, at least in my personal experience, that failure is usually at the Apps stage with the mysterious error 0x81036502.…
-
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…
-
PowerShell Querying User Password Expiration Information From Local AD
Security requirements are obviously a large player in the IT landscape. One of the biggest topics in that realm are passwords. While us IT dreamers have hopes of a password-less MFA covered landscape, most organizations have yet to embrace that. For most organizations account passwords are supposed to be subjected to certain expiration and change…
-
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…
-
Bug: Windows 11 and the Inability to Script Enabling Notifications for Apps
In this post I hinted to the fact I had found a pair of bugs inside Windows 11 pertaining to notifications while working on this project.This is the story of the other bug. As soon as I solved my problem with the Notifications menu, I ran face first into this problem. As of February 2023,…
-
Bug: Windows 11 and the Mysterious Missing Notifications Menu
I recently stumbled upon an interesting pair of Windows issue while working on this project, both pertaining to the Windows 11 Notifications menu. One of them has been identified in the past but the information I found pertained to Windows 10 where the issue isn’t as bad. For that reason, I thought it worth talking…
-
Using Visual Studio Code to Write, Edit, and Locally Test PowerShell Azure Function Apps
Azure Function apps are great. They are currently (to my knowledge) the only decent gateway to upload or pull information out of Azure from client devices via PowerShell, that is without needing to store things like secret keys directly in your code which obviously you don’t want to do. There are currently two main methods…
-
Saving a Buck by Temporarily Disabling Application Insights
This post will discuss the topic of disabling Application Insights on a Function App when not needed in order to save money. I decided this would be best to have as its own post given the amount of post’s I will likely have around Function Apps. This way, I can easily reference back to this…
-
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…
