Add-StaffHubMember

Adds a member or manager to the specified team

Note: This cmdlet currently is in Beta.

Syntax

Add-StaffHubMember
   [-TeamId] <String>
   [-FirstName] <String>
   [-LastName] <String>
   [[-Email] <String>]
   [[-PhoneNumber] <String>]
   [-IsManager] <Boolean>

Description

Adds a member or manager to the specified team.

Examples

-------------------------- Example 1 --------------------------

Add-StaffHubMember -TeamId "TEAM_1234" -FirstName "Abc" -LastName "123" -Email "abc@contoso.com" -IsManager $false

Adds the member with specified email/PhoneNumber to the team. Either PhoneNumber/Email is mandatory.

Parameters

-Email

Office 365 email of the member to be added.

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub
-FirstName

First name of the member to be added.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub
-IsManager

Should the person be added as a manager.

Type:Boolean
Position:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub
-LastName

Last name of the member to be added.

Type:String
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub
-PhoneNumber

Phone number of the member to be added.

Type:String
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub
-TeamId

ID of the team to which the member is to be added.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub

Inputs

None

Outputs

System.Object

Notes

This cmdlet currently is in Beta.