Share via


New-MgBetaVirtualEventWebinarRegistrationConfigurationQuestion

Create a registration question for a webinar. You can create either a predefined registration question or a custom registration question.

Note

To view the v1.0 release of this cmdlet, view New-MgVirtualEventWebinarRegistrationConfigurationQuestion

Syntax

CreateExpanded (Default)

New-MgBetaVirtualEventWebinarRegistrationConfigurationQuestion
    -VirtualEventWebinarId <String>
    [-ResponseHeadersVariable <String>]
    [-AdditionalProperties <Hashtable>]
    [-DisplayName <String>]
    [-Id <String>]
    [-IsRequired]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaVirtualEventWebinarRegistrationConfigurationQuestion
    -VirtualEventWebinarId <String>
    -BodyParameter <IMicrosoftGraphVirtualEventRegistrationQuestionBase>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentityExpanded

New-MgBetaVirtualEventWebinarRegistrationConfigurationQuestion
    -InputObject <IBookingsIdentity>
    [-ResponseHeadersVariable <String>]
    [-AdditionalProperties <Hashtable>]
    [-DisplayName <String>]
    [-Id <String>]
    [-IsRequired]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

CreateViaIdentity

New-MgBetaVirtualEventWebinarRegistrationConfigurationQuestion
    -InputObject <IBookingsIdentity>
    -BodyParameter <IMicrosoftGraphVirtualEventRegistrationQuestionBase>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Create a registration question for a webinar. You can create either a predefined registration question or a custom registration question.

Examples

Example 1: Add a custom registration question to a webinar registration


Import-Module Microsoft.Graph.Beta.Bookings

$params = @{
	"@odata.type" = "#microsoft.graph.virtualEventRegistrationCustomQuestion"
	displayName = "What's your job position?"
	answerInputType = "multiChoice"
	answerChoices = @(
	"Software Engineer"
"Engineer Manager"
"Product Manager"
)
}

New-MgBetaVirtualEventWebinarRegistrationConfigurationQuestion -VirtualEventWebinarId $virtualEventWebinarId -BodyParameter $params

This example will add a custom registration question to a webinar registration

Example 2: Add a predefined registration question to a webinar registration


Import-Module Microsoft.Graph.Beta.Bookings

New-MgBetaVirtualEventWebinarRegistrationConfigurationQuestion -VirtualEventWebinarId $virtualEventWebinarId

This example will add a predefined registration question to a webinar registration

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

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

Parameter sets

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

-BodyParameter

virtualEventRegistrationQuestionBase To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

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

Parameter sets

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

Display name of the registration question.

Parameter properties

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

Parameter sets

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

-Headers

Optional headers that will be added to the request.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

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

Parameter sets

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

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

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

Parameter sets

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

-IsRequired

Indicates whether an answer to the question is required. The default value is false.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

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

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VirtualEventWebinarId

The unique identifier of virtualEventWebinar

Parameter properties

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

Parameter sets

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
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

Microsoft.Graph.Beta.PowerShell.Models.IBookingsIdentity

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphVirtualEventRegistrationQuestionBase

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphVirtualEventRegistrationQuestionBase

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphVirtualEventRegistrationQuestionBase>: virtualEventRegistrationQuestionBase

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [DisplayName <String>]: Display name of the registration question.
  • [IsRequired <Boolean?>]: Indicates whether an answer to the question is required. The default value is false.

INPUTOBJECT <IBookingsIdentity>: Identity Parameter

  • [AttendanceRecordId <String>]: The unique identifier of attendanceRecord
  • [BookingAppointmentId <String>]: The unique identifier of bookingAppointment
  • [BookingBusinessId <String>]: The unique identifier of bookingBusiness
  • [BookingCurrencyId <String>]: The unique identifier of bookingCurrency
  • [BookingCustomQuestionId <String>]: The unique identifier of bookingCustomQuestion
  • [BookingCustomerId <String>]: The unique identifier of bookingCustomer
  • [BookingServiceId <String>]: The unique identifier of bookingService
  • [BookingStaffMemberId <String>]: The unique identifier of bookingStaffMember
  • [Email <String>]: Alternate key of virtualEventRegistration
  • [JoinWebUrl <String>]: Alternate key of virtualEventSession
  • [MeetingAttendanceReportId <String>]: The unique identifier of meetingAttendanceReport
  • [Role <String>]: Usage: role='{role}'
  • [UserId <String>]: Alternate key of virtualEventRegistration
  • [VirtualEventId <String>]: The unique identifier of virtualEvent
  • [VirtualEventPresenterId <String>]: The unique identifier of virtualEventPresenter
  • [VirtualEventRegistrationId <String>]: The unique identifier of virtualEventRegistration
  • [VirtualEventRegistrationQuestionBaseId <String>]: The unique identifier of virtualEventRegistrationQuestionBase
  • [VirtualEventSessionId <String>]: The unique identifier of virtualEventSession
  • [VirtualEventTownhallId <String>]: The unique identifier of virtualEventTownhall
  • [VirtualEventWebinarId <String>]: The unique identifier of virtualEventWebinar