Skip to content

Latest commit

 

History

History
459 lines (381 loc) · 13.3 KB

File metadata and controls

459 lines (381 loc) · 13.3 KB
external help file Module Name online version schema
Microsoft.Graph.Education-help.xml
Microsoft.Graph.Education
2.0.0

New-MgEducationMeRubric

SYNOPSIS

Create a new educationRubric object.

Note

To view the beta release of this cmdlet, view New-MgBetaEducationMeRubric

SYNTAX

CreateExpanded (Default)

New-MgEducationMeRubric [-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>]

Create

New-MgEducationMeRubric -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.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-MgEducationMeRubric -BodyParameter $params

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

PARAMETERS

-AdditionalProperties

Additional Parameters

Type: Hashtable
Parameter Sets: CreateExpanded
Aliases:

Required: False
Position: Named
Default value: None
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
Parameter Sets: Create
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-CreatedBy

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

Type: IMicrosoftGraphIdentitySet
Parameter Sets: CreateExpanded
Aliases:

Required: False
Position: Named
Default value: None
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
Parameter Sets: CreateExpanded
Aliases:

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

-DisplayName

The name of this rubric.

Type: String
Parameter Sets: CreateExpanded
Aliases:

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

-Grading

educationAssignmentGradeType

Type: Hashtable
Parameter Sets: CreateExpanded
Aliases:

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

-Headers

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

-Id

The unique identifier for an entity. Read-only.

Type: String
Parameter Sets: CreateExpanded
Aliases:

Required: False
Position: Named
Default value: None
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
Parameter Sets: CreateExpanded
Aliases:

Required: False
Position: Named
Default value: None
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[]
Parameter Sets: CreateExpanded
Aliases:

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

-ProgressAction

{{ 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

-Qualities

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

Type: IMicrosoftGraphRubricQuality[]
Parameter Sets: CreateExpanded
Aliases:

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

-ResponseHeadersVariable

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

-Confirm

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

-WhatIf

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

CommonParameters

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

INPUTS

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphEducationRubric

System.Collections.IDictionary

OUTPUTS

Microsoft.Graph.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. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      • [Id <String>]: Unique identifier for the identity.
    • [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. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    • [Id <String>]: Unique identifier for the identity.
  • [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. The display name might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
    • [Id <String>]: Unique identifier for the identity.
  • [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.

RELATED LINKS

https://learn.microsoft.com/powershell/module/microsoft.graph.education/new-mgeducationmerubric

https://learn.microsoft.com/graph/api/educationuser-post-rubrics?view=graph-rest-1.0