Skip to content

Find-TppCodeSignEnvironment

SYNOPSIS

Search for code sign environments

SYNTAX

All (Default)

Find-TppCodeSignEnvironment [-VenafiSession <PSObject>] [<CommonParameters>]

Name

Find-TppCodeSignEnvironment -Name <String> [-VenafiSession <PSObject>] [<CommonParameters>]

DESCRIPTION

Search for specific code sign environments that match a name you provide or get all. This will search across projects.

EXAMPLES

EXAMPLE 1

Find-TppCodeSignEnvironment
Get all code sign environments

EXAMPLE 2

Find-TppCodeSignEnvironment -Name Development
Find all environments that match the name Development

PARAMETERS

-Name

Name of the environment to search for

Type: String
Parameter Sets: Name
Aliases:

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

-VenafiSession

Authentication for the function. The value defaults to the script session object $VenafiSession created by New-VenafiSession. A TPP token or VaaS key can also provided. If providing a TPP token, an environment variable named TPP_SERVER must also be set.

Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $script:VenafiSession
Accept pipeline input: False
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

None

OUTPUTS

TppObject

NOTES

http://VenafiPS.readthedocs.io/en/latest/functions/Find-TppCodeSignEnvironment/

https://github.com/Venafi/VenafiPS/blob/main/VenafiPS/Public/Find-TppCodeSignEnvironment.ps1