PowerShell: Test if running as admin

#PowerShell #UsefulFunctions

If you need to run something as the local admin then you can test for that. See below: function Test-Administrator { $User = [Security.Principal.WindowsIdentity]::GetCurrent(); return…

Mat Grumpy Tech

O365: How to send emails from an alias in the Outlook web client (OWA)

#Office365

Before you continue please consider clicking on one of the horrible ads. I know they are a pain but they help me pay for the hosting…

Mat Grumpy Tech

PowerShell, Intune: How to disable Teams GPU acceleration with Intune/GPO - Updated for new Teams

#PowerShell #Azure

This is an update to this post. Credit for this one goes to the user Dacid Salin. Thanks Dacid. Much appreciated. <#$FilePath = "C:\Users\…

Mat Grumpy Tech