New-MgBetaEducationMeRubric

Create a new educationRubric object.

Note

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

Syntax

New-MgBetaEducationMeRubric
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-CreatedBy <IMicrosoftGraphIdentitySet>]
   [-Description <IMicrosoftGraphEducationItemBody>]
   [-DisplayName <String>]
   [-Grading <Hashtable>]
   [-Id <String>]
   [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
   [-Levels <IMicrosoftGraphRubricLevel[]>]
   [-Qualities <IMicrosoftGraphRubricQuality[]>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaEducationMeRubric
   -BodyParameter <IMicrosoftGraphEducationRubric>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new educationRubric object.

Examples

Example 1: Code snippet

Import-Module Microsoft.Graph.Beta.Education

$params = @{
	displayName = "Example Credit Rubric"
	description = @{
		content = "This is an example of a credit rubric (no points)"
		contentType = "text"
	}
	levels = @(
		@{
			displayName = "Good"
			description = @{
				content = ""
				contentType = "text"
			}
		}
		@{
			displayName = "Poor"
			description = @{
				content = ""
				contentType = "text"
			}
		}
	)
	qualities = @(
		@{
			description = @{
				content = "Argument"
				contentType = "text"
			}
			criteria = @(
				@{
					description = @{
						content = "The essay's argument is persuasive."
						contentType = "text"
					}
				}
				@{
					description = @{
						content = "The essay's argument does not make sense."
						contentType = "text"
					}
				}
			)
		}
		@{
			description = @{
				content = "Spelling and Grammar"
				contentType = "text"
			}
			criteria = @(
				@{
					description = @{
						content = "The essay uses proper spelling and grammar with few or no errors."
						contentType = "text"
					}
				}
				@{
					description = @{
						content = "The essay has numerous errors in spelling and/or grammar."
						contentType = "text"
					}
				}
			)
		}
	)
}

New-MgBetaEducationMeRubric -BodyParameter $params

This example shows how to use the New-MgBetaEducationMeRubric Cmdlet.

Parameters

-AdditionalProperties

Additional Parameters

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

-BodyParameter

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

Type:IMicrosoftGraphEducationRubric
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

educationItemBody To construct, see NOTES section for DESCRIPTION properties and create a hash table.

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

-DisplayName

The name of this rubric.

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

-Grading

educationAssignmentGradeType

Type:Hashtable
Position:Named
Default value:None
Required:False
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

-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

-Levels

The collection of levels making up this rubric. To construct, see NOTES section for LEVELS properties and create a hash table.

Type:IMicrosoftGraphRubricLevel[]
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

-Qualities

The collection of qualities making up this rubric. To construct, see NOTES section for QUALITIES properties and create a hash table.

Type:IMicrosoftGraphRubricQuality[]
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

-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.IMicrosoftGraphEducationRubric

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphEducationRubric

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 <IMicrosoftGraphEducationRubric>: educationRubric

  • [(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 <IMicrosoftGraphEducationItemBody>]: educationItemBody
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Content <String>]:
    • [ContentType <String>]: bodyType
  • [DisplayName <String>]: The name of this rubric.
  • [Grading <IMicrosoftGraphEducationAssignmentGradeType>]: educationAssignmentGradeType
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet
  • [Levels <IMicrosoftGraphRubricLevel- []>]: The collection of levels making up this rubric.
    • [Description <IMicrosoftGraphEducationItemBody>]: educationItemBody
    • [DisplayName <String>]: The name of this rubric level.
    • [Grading <IMicrosoftGraphEducationAssignmentGradeType>]: educationAssignmentGradeType
    • [LevelId <String>]: The ID of this resource.
  • [Qualities <IMicrosoftGraphRubricQuality- []>]: The collection of qualities making up this rubric.
    • [Criteria <IMicrosoftGraphRubricCriterion- []>]: The collection of criteria for this rubric quality.
      • [Description <IMicrosoftGraphEducationItemBody>]: educationItemBody
    • [Description <IMicrosoftGraphEducationItemBody>]: educationItemBody
    • [DisplayName <String>]: The name of this rubric quality.
    • [QualityId <String>]: The ID of this resource.
    • [Weight <Single?>]: If present, a numerical weight for this quality. Weights must add up to 100.

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 <IMicrosoftGraphEducationItemBody>: educationItemBody

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Content <String>]:
  • [ContentType <String>]: bodyType

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

LEVELS <IMicrosoftGraphRubricLevel- []>: The collection of levels making up this rubric.

  • [Description <IMicrosoftGraphEducationItemBody>]: educationItemBody
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Content <String>]:
    • [ContentType <String>]: bodyType
  • [DisplayName <String>]: The name of this rubric level.
  • [Grading <IMicrosoftGraphEducationAssignmentGradeType>]: educationAssignmentGradeType
    • [(Any) <Object>]: This indicates any property can be added to this object.
  • [LevelId <String>]: The ID of this resource.

QUALITIES <IMicrosoftGraphRubricQuality- []>: The collection of qualities making up this rubric.

  • [Criteria <IMicrosoftGraphRubricCriterion- []>]: The collection of criteria for this rubric quality.
    • [Description <IMicrosoftGraphEducationItemBody>]: educationItemBody
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Content <String>]:
      • [ContentType <String>]: bodyType
  • [Description <IMicrosoftGraphEducationItemBody>]: educationItemBody
  • [DisplayName <String>]: The name of this rubric quality.
  • [QualityId <String>]: The ID of this resource.
  • [Weight <Single?>]: If present, a numerical weight for this quality. Weights must add up to 100.