Skip to content

Instantly share code, notes, and snippets.

View scotgabriel's full-sized avatar

Scot Gabriel scotgabriel

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gabe31415 on github.
  • I am gabe31415 (https://keybase.io/gabe31415) on keybase.
  • I have a public key ASDX7NpinGc-PZVTMJlBSO22vbVK5lvpkZ3EY55lQCGm9Ao

To claim this, I am signing this object:

@scotgabriel
scotgabriel / get user group memberhip.ps1
Created February 15, 2022 16:52
Azure AD User - Get Group Membership
get-azureaduser -SearchString $UserDisplayName | Get-AzureADUserMembership
@scotgabriel
scotgabriel / get user manager.ps1
Created February 15, 2022 16:54
Azure AD User - Get Manager
get-azureaduser -SearchString $UserDisplayName | Get-AzureADUserManager
@scotgabriel
scotgabriel / Get user manager.ps1
Created February 15, 2022 16:55
Azure AD User - Get attributes/properties
get-azureaduser -SearchString $UserDisplayName | Select-Object *
@scotgabriel
scotgabriel / Get user licenses.ps1
Created February 15, 2022 16:56
Azure AD User - Get licenses assigned
et-azureaduser -SearchString $UserDisplayName | Get-AzureADUserLicenseDetail | Select-Object SkuId, SkuPartNumber