Update-MgBetaEducationClassModule

Update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status.

Note

To view the v1.0 release of this cmdlet, view Update-MgEducationClassModule

Syntax

Update-MgBetaEducationClassModule
      -EducationClassId <String>
      -EducationModuleId <String>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-CreatedBy <IMicrosoftGraphIdentitySet>]
      [-Description <String>]
      [-DisplayName <String>]
      [-Id <String>]
      [-IsPinned]
      [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
      [-Resources <IMicrosoftGraphEducationModuleResource[]>]
      [-Status <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgBetaEducationClassModule
      -EducationClassId <String>
      -EducationModuleId <String>
      -BodyParameter <IMicrosoftGraphEducationModule>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgBetaEducationClassModule
      -InputObject <IEducationIdentity>
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-CreatedBy <IMicrosoftGraphIdentitySet>]
      [-Description <String>]
      [-DisplayName <String>]
      [-Id <String>]
      [-IsPinned]
      [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
      [-Resources <IMicrosoftGraphEducationModuleResource[]>]
      [-Status <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgBetaEducationClassModule
      -InputObject <IEducationIdentity>
      -BodyParameter <IMicrosoftGraphEducationModule>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status.

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

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

Type:IMicrosoftGraphEducationModule
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreatedBy

identitySet To construct, see NOTES section for CREATEDBY properties and create a hash table.

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

Description of the module.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

Name of the module.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EducationClassId

The unique identifier of educationClass

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EducationModuleId

The unique identifier of educationModule

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Id

The unique identifier for an entity. Read-only.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

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

Type:IEducationIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-IsPinned

Indicates whether the module is pinned or not.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LastModifiedBy

identitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Resources

Learning objects that are associated with this module. Only teachers can modify this list. Nullable. To construct, see NOTES section for RESOURCES properties and create a hash table.

Type:IMicrosoftGraphEducationModuleResource[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Status

educationModuleStatus

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IEducationIdentity

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphEducationModule

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphEducationModule

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 <IMicrosoftGraphEducationModule>: educationModule

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Application <IMicrosoftGraphIdentity>]: identity
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DisplayName <String>]: The display name of the identity. This property is read-only.
      • [Id <String>]: The identifier of the identity. This property is read-only.
    • [Device <IMicrosoftGraphIdentity>]: identity
    • [User <IMicrosoftGraphIdentity>]: identity
  • [Description <String>]: Description of the module.
  • [DisplayName <String>]: Name of the module.
  • [IsPinned <Boolean?>]: Indicates whether the module is pinned or not.
  • [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  • [Resources <IMicrosoftGraphEducationModuleResource- []>]: Learning objects that are associated with this module. Only teachers can modify this list. Nullable.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Resource <IMicrosoftGraphEducationResource>]: educationResource
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      • [DisplayName <String>]: Display name of resource.
      • [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  • [Status <String>]: educationModuleStatus

CREATEDBY <IMicrosoftGraphIdentitySet>: identitySet

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Application <IMicrosoftGraphIdentity>]: identity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. This property is read-only.
    • [Id <String>]: The identifier of the identity. This property is read-only.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity

INPUTOBJECT <IEducationIdentity>: Identity Parameter

  • [EducationAssignmentId <String>]: The unique identifier of educationAssignment
  • [EducationAssignmentResourceId <String>]: The unique identifier of educationAssignmentResource
  • [EducationAssignmentResourceId1 <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
  • [EducationGradingSchemeId <String>]: The unique identifier of educationGradingScheme
  • [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
  • [EducationSubmissionResourceId1 <String>]: The unique identifier of educationSubmissionResource
  • [EducationSynchronizationErrorId <String>]: The unique identifier of educationSynchronizationError
  • [EducationSynchronizationProfileId <String>]: The unique identifier of educationSynchronizationProfile
  • [EducationUserId <String>]: The unique identifier of educationUser

LASTMODIFIEDBY <IMicrosoftGraphIdentitySet>: identitySet

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Application <IMicrosoftGraphIdentity>]: identity
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The display name of the identity. This property is read-only.
    • [Id <String>]: The identifier of the identity. This property is read-only.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity

RESOURCES <IMicrosoftGraphEducationModuleResource- []>: Learning objects that are associated with this module. Only teachers can modify this list. Nullable.

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Resource <IMicrosoftGraphEducationResource>]: educationResource
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Application <IMicrosoftGraphIdentity>]: identity
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [DisplayName <String>]: The display name of the identity. This property is read-only.
        • [Id <String>]: The identifier of the identity. This property is read-only.
      • [Device <IMicrosoftGraphIdentity>]: identity
      • [User <IMicrosoftGraphIdentity>]: identity
    • [DisplayName <String>]: Display name of resource.
    • [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet