< Back

Get-PartnerContext

Sat Jan 18, 2020 6:27 pm

NAME Get-PartnerContext



SYNOPSIS

Gets the metadata used to authenticate Partner Center requests.





SYNTAX

Get-PartnerContext [<CommonParameters>]





DESCRIPTION

The Get-PartnerContext cmdlet gets the current metadata used to authenticate Partner Center requests.





PARAMETERS

<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

None







OUTPUTS

Microsoft.Store.PartnerCenter.PowerShell.Models.Authentication.PartnerContext







NOTES









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



PS C:\\> Connect-PartnerCenter

PS C:\\> Get-PartnerContext



In this example we are logging into our partner account using Connect-PartnerCenter, and then we are getting the

context of the current session by calling Get-PartnerContext.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... nerContext