Skip to content

Get-VaasOrgUnit

SYNOPSIS

Get OrgUnit info

SYNTAX

All (Default)

Get-VaasOrgUnit [-VenafiSession <PSObject>] [<CommonParameters>]

Id

Get-VaasOrgUnit -OrgUnitId <Guid> [-VenafiSession <PSObject>] [<CommonParameters>]

DESCRIPTION

Get info for either a specific org unit or all org units. Venafi as a Service only, not for TPP.

EXAMPLES

EXAMPLE 1

Get-VaasOrgUnit
Get info for all org units

EXAMPLE 2

Get-VaasOrgUnit -OrgUnitId 'ca7ff555-88d2-4bfc-9efa-2630ac44c1f2'
Get info for a specific org unit

PARAMETERS

-OrgUnitId

Id to get info for a specific OrgUnit

Type: Guid
Parameter Sets: Id
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, 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 TppServer 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

OrgUnitId

OUTPUTS

PSCustomObject

NOTES