New-PSSession Cmdlet using Oauth credentials

tba

I would like to create a New-PSSession using an access token (Oauth) and not a default credentials.

Is it possible?

According to documentation, these are the authentications types:

  • Default
  • Basic
  • Credssp
  • Digest
  • Kerberos
  • Negotiate
  • NegotiateWithImplicitCredential

Thanks!

Vesper

New-PSSession connects with PS Remoting (WinRM) which does not support OAuth authentication. You can supply a PSCredential object used to get that OAuth token instead, if any.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

New-PSSession Fails Ubuntu to Windows using .NET Core Packages

New-PSSession using python only (no subprocess module)

Using "New-Object" cmdlet in C#

New-PSSession to localhost fails

New-PSSession Parellel Execution

Client credentials for a API Gateway using OAuth2

Advantages of using OAuth Password Credentials Grant over Token Access Authentication

Mule OAuth2 using Client Credentials as grant_type

OAuth2 authentication for Microsoft Graph using service account credentials

Disqus Password Credentials OAuth

Requesting OAuth credentials with node

Passing logged in user credentials to Powershell cmdlet

File operation failed with New-PSSession

New-PSSession does not work locally

Copy parameter sets from a CmdLet to new CmdLet

PowerShell Core Script deployed as AWS Lambda function fails to remote connect into Windows EC2 Instance using the Commandlet new-pssession

Error when using CmdLet New-AzureRmADAppCredential to create new credential with certificates

Is OAuth2 Token request from DocuSign OAuth (Resource Owner Credentials or SAML) still be supported in new REST API?

Using new credentials for AWS ECR get-login

Using the correct oauth2 credentials to connect to AzureDevops through NodeJS using Passport.js

PowerShell Remove-Item using PSSession

How to connect with PSSession using for Auth a Certificate ThumbPrint?

OAuth2 client credentials

Django-OAuth-ToolKit : Generating access token's for multiple resources/services using client credentials grant type of OAuth2.0

Central auth server with multiple clients using resource owner password credentials oauth flow

Spring Webflux: Assertion for redirectUriTemplate to be not null, even though I am using OAuth 2.0 client credentials

Access to user's mailbox using EWS, OAuth2 and user's credentials

Oauth Login error while logging in using linkedin credentials ("error":"https_required")

Convert Spring Boot and OAuth2 client from using Client Credentials flow to Authorization Code Grant flow