< Back
New-MyTwitterConfiguration
Post
NAME New-MyTwitterConfiguration
SYNOPSIS
This Function stores the Twitter API Application settings in a file 'MyTwitter.json' in the same directory.
SYNTAX
New-MyTwitterConfiguration [-APIKey] <String> [-APISecret] <String> [-AccessToken] <String> [-AccessTokenSecret]
<String> [-Force] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-APIKey <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-APISecret <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AccessToken <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AccessTokenSecret <String>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Overwrites the existing Values in the 'MyTwitter.json' file.
Required? false
Position? named
Default value False
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
-------------------------- EXAMPLE 1 --------------------------
PS>New-MyTwitterConfiguration -APIKey akey -APISecret asecret -AccessToken sometoken -AccessTokenSecret
atokensecret
This example will store the 4 Values (APIKey,APISecret,AccessToken and AccessTokenSecret) in the
MyTwitter file.
RELATED LINKS
SYNOPSIS
This Function stores the Twitter API Application settings in a file 'MyTwitter.json' in the same directory.
SYNTAX
New-MyTwitterConfiguration [-APIKey] <String> [-APISecret] <String> [-AccessToken] <String> [-AccessTokenSecret]
<String> [-Force] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-APIKey <String>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-APISecret <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AccessToken <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AccessTokenSecret <String>
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Overwrites the existing Values in the 'MyTwitter.json' file.
Required? false
Position? named
Default value False
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
-------------------------- EXAMPLE 1 --------------------------
PS>New-MyTwitterConfiguration -APIKey akey -APISecret asecret -AccessToken sometoken -AccessTokenSecret
atokensecret
This example will store the 4 Values (APIKey,APISecret,AccessToken and AccessTokenSecret) in the
MyTwitter file.
RELATED LINKS