Hello,
If I run “Get-Credential” get a Window with Title: Login at PowerShell
How to change the Title to “Login at Server A” for example ?
Have PowerShell 5.1 not 6.x ! (Parameter -Title did not exists)
Thanks
Hello,
If I run “Get-Credential” get a Window with Title: Login at PowerShell
How to change the Title to “Login at Server A” for example ?
Have PowerShell 5.1 not 6.x ! (Parameter -Title did not exists)
Thanks
Found it:
$Credential = $host.ui.PromptForCredential("Need credentials", "Please enter your user name and password.", "", "NetBiosUserName")
Source: Get-Credential (Microsoft.PowerShell.Security) - PowerShell | Microsoft Docs
dennis,
Welcome to the forum.
Hey … I’m glad to hear that you’ve found your solution. And thanks for sharing it.