Why does New-PSSession keep prompting for credentials inside my script?
An onboarding script that worked normally last week now gets stuck repeatedly showing the Get-Credential prompt when it tries to create a New-PSSession. The command works when run…