< Back
ConvertTo-Base64String
Post
NAME ConvertTo-Base64String
SYNOPSIS
Encodes Credentials to a Base64 String
SYNTAX
ConvertTo-Base64String [-Creds] <PSCredential> [<CommonParameters>]
DESCRIPTION
Takes a Credential as input and return a Base64 String to used in OAuth2 Authentication.
PARAMETERS
-Creds <PSCredential>
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>ConvertTo-Base64String -Creds $Creds
RELATED LINKS
SYNOPSIS
Encodes Credentials to a Base64 String
SYNTAX
ConvertTo-Base64String [-Creds] <PSCredential> [<CommonParameters>]
DESCRIPTION
Takes a Credential as input and return a Base64 String to used in OAuth2 Authentication.
PARAMETERS
-Creds <PSCredential>
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>ConvertTo-Base64String -Creds $Creds
RELATED LINKS