Get-CsPreMeetingConsent

Gets pre-meeting consent configurations.

Syntax

Identity (Default)

Get-CsPreMeetingConsent
    [[-Identity] <String>]
    [<CommonParameters>]

Filter

Get-CsPreMeetingConsent
    [-Filter <String>]
    [<CommonParameters>]

ParentAndRelativeKey

Get-CsPreMeetingConsent
    -Id <String>
    [<CommonParameters>]

Description

Use Get-CsPreMeetingConsent without arguments to list all pre-meeting consent configurations. Specify -Id or -Identity to retrieve a particular configuration, or -Filter to match configuration identities. The LocalizedContent property of a returned configuration contains its localized consent content.

Examples

Example 1: List all configurations

Get-CsPreMeetingConsent

This example lists all pre-meeting consent configurations.

Example 2: Display the localized content for a configuration

$consentId = '<consent-configuration-guid>'
$consent = Get-CsPreMeetingConsent -Id $consentId
$consent.LocalizedContent

Replace <consent-configuration-guid> with the identifier of the configuration you want to retrieve. The example displays the localized content for that configuration.

Parameters

-Filter

Matches configuration identities using a PowerShell wildcard pattern.

Parameter properties

Type:String
Default value:None
Supports wildcards:True
DontShow:False

Parameter sets

Filter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The ID of the configuration to retrieve.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ParentAndRelativeKey
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

The identity of the configuration to retrieve. Omit this parameter to list configurations, or use the Identity property of a returned configuration to retrieve that configuration again.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

PreMeetingConsent