Skip to content

Get-UserInfo

SYNOPSIS

Retrieve a summary of information about one or more users.

SYNTAX

Get-UserInfo [-user] <String> [<CommonParameters>]

DESCRIPTION

This function retrieves a summary of information about one or more users. It accepts a username in various formats (e.g., sAMAccountName, full name) and gathers details such as Active Directory attributes, drive mappings, Citrix logs, Exchange mailbox size, and Kerberos ticket size. The function integrates with Active Directory, Exchange, and Citrix systems to provide a comprehensive overview.

EXAMPLES

EXAMPLE 1

Get-UserInfo -User "clerckjo"

Retrieves information about the user with the short name "clerckjo".

EXAMPLE 2

Get-UserInfo -User "De Clerck John"

Retrieves information about the user with the full name "De Clerck John".

EXAMPLE 3

UI -User "smithj"

Uses the alias `UI` to retrieve information about the user "smithj".

PARAMETERS

-user

The username to retrieve information for. Accepts various formats such as sAMAccountName, full name, or DistinguishedName.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

YYYY-MM-DD - Naam - Wat gewijzigd 2014-02-17 - WillemR - added additional IF bij check exchange mailbox grootte 2014-05-23 - JohnDC - Exchange weer actief gezet en aangepast aan 2010 2014-10-12 - JohnDC - Nieuwe versie om kerberos ticketsize te berekenen, houdt nu ook rekening met sidHistory 2014-10-24 - JohnDC - -useglobalcatalog bij kerberos groups zodat ook groepen over de trusts heen meegeteld worden 2015-05-05 - JohnDC - Get-Userinfo aangepast zodat ook voor OCMW gebruikers driveletters + citrix logs getoond worden 2015-05-20 - JohnDC - Ophalen DCs versneld door alleen in Domain Controllers OU te zoeken, anders hangt dat precies 2015-11-17 - JohnDC - -indirect switch voor citrix drivemappings toegevoegd 2016-04-18 - JohnDC - [int] --> [uint64] voor mailboxsize + ldap filter voor kerberos (filter alleen security groups) 2016-06-06 - JohnDC - Kerberos ticketsize: enkel warning geven bij \<12k zonder delegation maar >12k met delegation 2016-10-03 - JohnDC - Integratie met ClientNetworkMappings loggging 2017-05-17 - JohnDC - Aanpassen Citrix logon/logoff events