Share via

Powershell

zhuyu jiang 1 Reputation point
2022-03-08T02:41:19.107+00:00

Detailed usage of the following commands:

Enter-PSSession [-Authentication {Default | Basic | Negotiate | NegotiateWithImplicitCredential | Credssp | Digest | Kerberos}]

for example: Enter-PSSession -ComputerName "******" -Authentication basic

Press ENTER , A user name and password are required, How do I enter a user name and password?

Thank you!

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 132.1K Reputation points MVP Volunteer Moderator
    2022-03-08T06:48:59.14+00:00

    Hi @zhuyu jiang ,

    Get-Credential maybe helps: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-credential?view=powershell-7.2

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.