< Back

Set-MVPConfiguration

Sat Jan 18, 2020 4:54 pm

NAME Set-MVPConfiguration



SYNOPSIS

Get an Oauth Autorization code





SYNTAX

Set-MVPConfiguration [[-ClientID] <String>] [-SubscriptionKey] <String> [<CommonParameters>]





DESCRIPTION

Call the private Get-MVPOAuthAutorizationCode function and define both an MVPPrimaryKey and MVPAuthorizationCode

global variable





PARAMETERS

-ClientID <String>

It's the clientID you see in the url of the MVPAuth application on your

https://account.live.com/consent/Manage page



Required? false

Position? 1

Default value 0000000048193351

Accept pipeline input? false

Accept wildcard characters? false



-SubscriptionKey <String>

It's the primary key or secondary key you get in your profile on this page

https://mvpapi.portal.azure-api.net/developer



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



NOTES





https://github.com/lazywinadmin/MVP



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



PS C:\\>Set-MVPConfiguration -SubscriptionKey $myKey















RELATED LINKS