Category: PowerShell
-
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…
