Skip to content

Powershell Functions that I use regularly at work. I've appropriately redacted them so that there is no identifying information present.

License

Notifications You must be signed in to change notification settings

brettmillerb/Powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Powershell

Powershell Functions that I use regularly at work. I've appropriately redacted them so that there is no identifying information present.

Cmdlets

Connect-SCCM

Imports Configuration Manager Module and Maps PSDrive to Primary server enabling SCCM cmdlets to be utilised.

Get-ADComputerOwner

Gets the owner of the Computer object from the ACL of the AD Object.

Get-ADExistence

Gets whether a computer AD object exists for a given machine name.

Get-ADLocalAdminGroup

Checks AD to see if a Local Admin Group exists for the corresponding computer account and it's members.

Get-ADUserAzure

Checks AzureAD using UPN from on-premises Active Directory account

Get-ADUserOwner

Gets the owner of the User object from the ACL of the AD Object.

Get-CMUserPrimaryDevice

Connects to SCCM and obtains a users primary device from the SMS database.

Get-FSMORoleLocations

Gets the servers which hold FSMO roles in domain.

Get-FSRM

Gets File Screen Monitoring filetypes from public API for recent ransomware attacks.

Get-O365Licenses

Gets the O365 license count and usage for SKU.

Search-GPOsForStringReturnAll

Searches Group Policy Objects for a provided string

About

Powershell Functions that I use regularly at work. I've appropriately redacted them so that there is no identifying information present.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published