.universal/endpoints.ps1
file or the Management API using New-PSUEndpoint
.Grant-PSUAppToken
cmdlet to do so remotely or you can create an app token in the UI using the Settings Security AppTokens tab.-UseDefaultCredentials
parameter of Invoke-RestMethod
and Invoke-WebRequest
. This will perform negotiate authentication whether you are running inside IIS or a service.Invoke-WebRequest
to do so. Pass the user name and password as the body. Specify the -SessionVariable
parameter to establish a session.$mySession
variable to call secure endpoints.New-PSUEndpoint
cmdlet or by selecting one in the UI. If a role is selected, it's possess the role.