In reply to Howard Rosenfeld.

Do you know why SAS is prompting? To connect to a database or using SAS/CONNECT? Whatever code might be triggering that, you'll need to ensure credentials are available. Of course, you don't want to put user/password in code. In Powershell, you could set as environment variables that you pass in, and use SYSGET in code to get the values. I'd need to know more about what's triggering the prompt to advise further.