< Back

Get-CredentialBaseName

Sun Jan 12, 2020 6:00 pm

NAME Get-CredentialBaseName



SYNOPSIS

Returns the base part of a username in a credential object. See Get-UserBaseName





SYNTAX

Get-CredentialBaseName [-UserCredential] <PSCredential> [<CommonParameters>]





DESCRIPTION

Returns the username of a credential object. If the credential object is a distringuished name the first part of

the user object is used





PARAMETERS

-UserCredential <PSCredential>

The credential object



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS