external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Graph.Education-help.xml |
Microsoft.Graph.Education |
2.0.0 |
Add an educationUser member to an educationClass.
Note
To view the beta release of this cmdlet, view New-MgBetaEducationClassMemberByRef
New-MgEducationClassMemberByRef -EducationClassId <String> [-ResponseHeadersVariable <String>]
-OdataId <String> [-AdditionalProperties <Hashtable>] [-Headers <IDictionary>] [-PassThru]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
New-MgEducationClassMemberByRef -EducationClassId <String> -BodyParameter <IReferenceCreate>
[-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-PassThru] [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]
New-MgEducationClassMemberByRef -InputObject <IEducationIdentity> [-ResponseHeadersVariable <String>]
-OdataId <String> [-AdditionalProperties <Hashtable>] [-Headers <IDictionary>] [-PassThru]
[-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
New-MgEducationClassMemberByRef -InputObject <IEducationIdentity> -BodyParameter <IReferenceCreate>
[-ResponseHeadersVariable <String>] [-Headers <IDictionary>] [-PassThru] [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]
Add an educationUser member to an educationClass.
Import-Module Microsoft.Graph.Education
$params = @{
"@odata.id" = "https://graph.microsoft.com/v1.0/education/users/13015"
}
New-MgEducationClassMemberByRef -EducationClassId $educationClassId -BodyParameter $params
This example shows how to use the New-MgEducationClassMemberByRef Cmdlet.
Additional Parameters
Type: Hashtable
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: IReferenceCreate
Parameter Sets: Create, CreateViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The unique identifier of educationClass
Type: String
Parameter Sets: CreateExpanded, Create
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional headers that will be added to the request.
Type: IDictionary
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: IEducationIdentity
Parameter Sets: CreateViaIdentityExpanded, CreateViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The entity reference URL of the resource. For example, https://graph.microsoft.com/v1.0/directoryObjects/{id}.
Type: String
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Returns true when the command succeeds
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optional Response Headers Variable.
Type: String
Parameter Sets: (All)
Aliases: RHV
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
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 <IReferenceCreate>
: .
[(Any) <Object>]
: This indicates any property can be added to this object. OdataId<String>
: The entity reference URL of the resource. For example, https://graph.microsoft.com/v1.0/directoryObjects/{id}.
INPUTOBJECT <IEducationIdentity>
: Identity Parameter
[EducationAssignmentId <String>]
: The unique identifier of educationAssignment[EducationAssignmentResourceId <String>]
: The unique identifier of educationAssignmentResource[EducationCategoryId <String>]
: The unique identifier of educationCategory[EducationClassId <String>]
: The unique identifier of educationClass[EducationGradingCategoryId <String>]
: The unique identifier of educationGradingCategory[EducationModuleId <String>]
: The unique identifier of educationModule[EducationModuleResourceId <String>]
: The unique identifier of educationModuleResource[EducationOutcomeId <String>]
: The unique identifier of educationOutcome[EducationRubricId <String>]
: The unique identifier of educationRubric[EducationSchoolId <String>]
: The unique identifier of educationSchool[EducationSubmissionId <String>]
: The unique identifier of educationSubmission[EducationSubmissionResourceId <String>]
: The unique identifier of educationSubmissionResource[EducationUserId <String>]
: The unique identifier of educationUser
https://learn.microsoft.com/graph/api/educationclass-post-members?view=graph-rest-1.0