Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 913 Bytes

Get-VstsClientCertificate.md

File metadata and controls

28 lines (21 loc) · 913 Bytes

Get-VstsClientCertificate

table of contents | brief

NAME
    Get-VstsClientCertificate

SYNOPSIS
    Gets a client certificate for current connected TFS instance

SYNTAX
    Get-VstsClientCertificate [<CommonParameters>]

DESCRIPTION
    Gets an instance of a X509Certificate2 that is the client certificate Build/Release agent used.

PARAMETERS
    <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).

    -------------------------- EXAMPLE 1 --------------------------

    PS C:\>$x509cert = Get-ClientCertificate

    WebRequestHandler.ClientCertificates.Add(x509cert)