Set-TwitterMutedUser
SYNOPSIS
Allows the authenticating user to mute or unmute another user.
SYNTAX
Mute (Default)
Set-TwitterMutedUser -User <User> [-Mute] [<CommonParameters>]
Unmute
Set-TwitterMutedUser -User <User> [-Unmute] [<CommonParameters>]
DESCRIPTION
Allows the authenticating user to mute or unmute another user.
EXAMPLES
Example 1
PS > Get-TwitterUser -UserName BluebirdPS | Set-TwitterMutedUser
Mutes the specified user.
Example 2
PS > Get-TwitterUser -UserName BluebirdPS | Set-TwitterMutedUser -Unmute
Unmutes the specified user.
NOTE: If you are not muting the user, an attempt to unmute will result in an error.
PARAMETERS
-User
The user object, returned by Get-TwitterUser, to be muted or unmuted.
Type: BluebirdPS.APIV2.UserInfo.User
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Mute
Mute the specified user.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: Mute
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Unmute
Unmute the specified user.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: Unmute
Aliases:
Required: True
Position: Named
Default value: False
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
BluebirdPS.APIV2.UserInfo.User
OUTPUTS
None
NOTES
RELATED LINKS
Api Reference - POST /2/users/:id/muting
Api Reference - DELETE /2/users/:source_user_id/muting/:target_user_id