Remove-StaffHubMember

Removes the specified member from the team.

Note: This cmdlet is currently in Beta.

Syntax

Remove-StaffHubMember
      [-TeamId] <String>
      [[-MemberId] <String>]
      [[-MemberObject] <PSObject>]

Description

Removes the specified member from the team.

Examples

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

Remove-StaffHubMember -TeamId "TEAM_1234" -MemberId "MBER_1234"

This removes member MBER_1234 from TEAM_1234.

Parameters

-MemberId

MemberId of the member to be removed.

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

Entire member object returned from Get-StaffHubMember.

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

TeamId from which the specified member is to be removed.

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 is currently in Beta.