external help file: Module Name: Microsoft.Graph.People online version: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.people/new-mguserprofileskill schema: 2.0.0
New-MgUserProfileSkill
SYNOPSIS
Create new navigation property to skills for users
SYNTAX
CreateExpanded (Default)
New-MgUserProfileSkill -UserId <String> [-AdditionalProperties <Hashtable>] [-AllowedAudiences <String>]
[-Categories <String[]>] [-CollaborationTags <String[]>] [-CreatedBy <IMicrosoftGraphIdentitySet>]
[-CreatedDateTime <DateTime>] [-DisplayName <String>] [-Id <String>]
[-Inference <IMicrosoftGraphInferenceData>] [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
[-LastModifiedDateTime <DateTime>] [-Proficiency <String>] [-Source <IMicrosoftGraphPersonDataSource>]
[-WebUrl <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Create
New-MgUserProfileSkill -UserId <String> -BodyParameter <IMicrosoftGraphSkillProficiency> [-Confirm] [-WhatIf]
[<CommonParameters>]
CreateViaIdentity
New-MgUserProfileSkill -InputObject <IPeopleIdentity> -BodyParameter <IMicrosoftGraphSkillProficiency>
[-Confirm] [-WhatIf] [<CommonParameters>]
CreateViaIdentityExpanded
New-MgUserProfileSkill -InputObject <IPeopleIdentity> [-AdditionalProperties <Hashtable>]
[-AllowedAudiences <String>] [-Categories <String[]>] [-CollaborationTags <String[]>]
[-CreatedBy <IMicrosoftGraphIdentitySet>] [-CreatedDateTime <DateTime>] [-DisplayName <String>]
[-Id <String>] [-Inference <IMicrosoftGraphInferenceData>] [-LastModifiedBy <IMicrosoftGraphIdentitySet>]
[-LastModifiedDateTime <DateTime>] [-Proficiency <String>] [-Source <IMicrosoftGraphPersonDataSource>]
[-WebUrl <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Create new navigation property to skills for users
EXAMPLES
Example 1: {{ Add title here }}
PS C:\> {{ Add code here }}
{{ Add output here }}
{{ Add description here }}
Example 2: {{ Add title here }}
PS C:\> {{ Add code here }}
{{ Add output here }}
{{ Add description here }}
PARAMETERS
-AdditionalProperties
Additional Parameters
Type: System.Collections.Hashtable
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllowedAudiences
allowedAudiences
Type: System.String
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-BodyParameter
skillProficiency To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSkillProficiency
Parameter Sets: Create, CreateViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Categories
.
Type: System.String[]
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CollaborationTags
.
Type: System.String[]
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CreatedBy
identitySet To construct, see NOTES section for CREATEDBY properties and create a hash table.
Type: Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CreatedDateTime
.
Type: System.DateTime
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisplayName
.
Type: System.String
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Id
Read-only.
Type: System.String
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Inference
inferenceData To construct, see NOTES section for INFERENCE properties and create a hash table.
Type: Microsoft.Graph.PowerShell.Models.IMicrosoftGraphInferenceData
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
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: Microsoft.Graph.PowerShell.Models.IPeopleIdentity
Parameter Sets: CreateViaIdentity, CreateViaIdentityExpanded
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-LastModifiedBy
identitySet To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table.
Type: Microsoft.Graph.PowerShell.Models.IMicrosoftGraphIdentitySet
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-LastModifiedDateTime
.
Type: System.DateTime
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Proficiency
skillProficiencyLevel
Type: System.String
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Source
personDataSource To construct, see NOTES section for SOURCE properties and create a hash table.
Type: Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPersonDataSource
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UserId
key: id of user
Type: System.String
Parameter Sets: Create, CreateExpanded
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WebUrl
.
Type: System.String
Parameter Sets: CreateExpanded, CreateViaIdentityExpanded
Aliases:
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: System.Management.Automation.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: System.Management.Automation.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.IMicrosoftGraphSkillProficiency
Microsoft.Graph.PowerShell.Models.IPeopleIdentity
OUTPUTS
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSkillProficiency
NOTES
ALIASES
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 <IMicrosoftGraphSkillProficiency>: skillProficiency
[(Any) <Object>]: This indicates any property can be added to this object.[AllowedAudiences <String>]: allowedAudiences[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 identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may 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
[CreatedDateTime <DateTime?>]:[Inference <IMicrosoftGraphInferenceData>]: inferenceData[(Any) <Object>]: This indicates any property can be added to this object.[ConfidenceScore <Double?>]:[UserHasVerifiedAccuracy <Boolean?>]:
[LastModifiedBy <IMicrosoftGraphIdentitySet>]: identitySet[LastModifiedDateTime <DateTime?>]:[Source <IMicrosoftGraphPersonDataSource>]: personDataSource[(Any) <Object>]: This indicates any property can be added to this object.[Type <String>]:
[Id <String>]: Read-only.[Categories <String[]>]:[CollaborationTags <String[]>]:[DisplayName <String>]:[Proficiency <String>]: skillProficiencyLevel[WebUrl <String>]:
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 identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may 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
INFERENCE <IMicrosoftGraphInferenceData>: inferenceData
[(Any) <Object>]: This indicates any property can be added to this object.[ConfidenceScore <Double?>]:[UserHasVerifiedAccuracy <Boolean?>]:
INPUTOBJECT <IPeopleIdentity>: Identity Parameter
[ActivityStatisticsId <String>]: key: id of activityStatistics[EducationalActivityId <String>]: key: id of educationalActivity[ItemAddressId <String>]: key: id of itemAddress[ItemEmailId <String>]: key: id of itemEmail[ItemPatentId <String>]: key: id of itemPatent[ItemPhoneId <String>]: key: id of itemPhone[ItemPublicationId <String>]: key: id of itemPublication[LanguageProficiencyId <String>]: key: id of languageProficiency[PersonAnniversaryId <String>]: key: id of personAnniversary[PersonAnnotationId <String>]: key: id of personAnnotation[PersonAwardId <String>]: key: id of personAward[PersonCertificationId <String>]: key: id of personCertification[PersonId <String>]: key: id of person[PersonInterestId <String>]: key: id of personInterest[PersonNameId <String>]: key: id of personName[PersonWebsiteId <String>]: key: id of personWebsite[ProjectParticipationId <String>]: key: id of projectParticipation[SharedInsightId <String>]: key: id of sharedInsight[SkillProficiencyId <String>]: key: id of skillProficiency[TrendingId <String>]: key: id of trending[UsedInsightId <String>]: key: id of usedInsight[UserAccountInformationId <String>]: key: id of userAccountInformation[UserId <String>]: key: id of user[WebAccountId <String>]: key: id of webAccount[WorkPositionId <String>]: key: id of workPosition
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 identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may 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
SOURCE <IMicrosoftGraphPersonDataSource>: personDataSource
[(Any) <Object>]: This indicates any property can be added to this object.[Type <String>]: