Powershell Functions that I use regularly at work. I've appropriately redacted them so that there is no identifying information present.
Imports Configuration Manager Module and Maps PSDrive to Primary server enabling SCCM cmdlets to be utilised.
Gets the owner of the Computer object from the ACL of the AD Object.
Gets whether a computer AD object exists for a given machine name.
Checks AD to see if a Local Admin Group exists for the corresponding computer account and it's members.
Checks AzureAD using UPN from on-premises Active Directory account
Gets the owner of the User object from the ACL of the AD Object.
Connects to SCCM and obtains a users primary device from the SMS database.
Gets the servers which hold FSMO roles in domain.
Gets File Screen Monitoring filetypes from public API for recent ransomware attacks.
Gets the O365 license count and usage for SKU.
Searches Group Policy Objects for a provided string