< Back

Send-TwitterDm

Sat Jan 18, 2020 4:58 pm

NAME Send-TwitterDm



SYNOPSIS

This sends a DM to another Twitter user. NOTE: You can only send up to

250 DMs in a 24 hour period.





SYNTAX

Send-TwitterDm [-Message] <String> [-Username] <String[]> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Message <String>

The text of the DM.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Username <String[]>

The username(s) you'd like to send the DM to.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Management.Automation.PSCustomObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Send-TwitterDm -Message 'hello, Adam' -Username 'adam','bill'



This sends a DM with the text 'hello, Adam' to the username 'adam' and 'bill'











RELATED LINKS