get-credential does not work with powershell 5, works with powershell 7 #16004

Open
opened 2026-01-31 04:54:39 +00:00 by claunia · 0 comments
Owner

Originally created by @HollisTech on GitHub (Nov 30, 2021).

Windows Terminal version

1.12.2931.0

Windows build number

22000.348 (win11)

Other Software

PSVersion 5.1.22000.282

Steps to reproduce

  1. Open WT preview.
  2. open psh 5 tab
  3. run get-credential
    output: Get-Credential : Cannot process command because of one or more missing mandatory parameters: Credential.
    expected: gui or prompt.

Note

Expected Behavior

gui or prompt.

Note: behaves as expected with psh 7. Behaves as expected with WT release version (1.11.2921.0) and psh 5.

Actual Behavior

error output: Get-Credential : Cannot process command because of one or more missing mandatory parameters: Credential.

Originally created by @HollisTech on GitHub (Nov 30, 2021). ### Windows Terminal version 1.12.2931.0 ### Windows build number 22000.348 (win11) ### Other Software PSVersion 5.1.22000.282 ### Steps to reproduce 1. Open WT preview. 2. open psh 5 tab 3. run get-credential output: Get-Credential : Cannot process command because of one or more missing mandatory parameters: Credential. expected: gui or prompt. Note ### Expected Behavior gui or prompt. Note: behaves as expected with psh 7. Behaves as expected with WT release version (1.11.2921.0) and psh 5. ### Actual Behavior error output: Get-Credential : Cannot process command because of one or more missing mandatory parameters: Credential.
claunia added the Resolution-Duplicate label 2026-01-31 04:54:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16004